-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Getting Ready for feedback Fix Local Build Fix NuSpec less packaging Upstream (build env) patches - SourceControlInformation fix - Add some Labels * Removed _SdkVisualStudioVersion workaround No Longer needed since we need VS/MSBuild 15 and above Silverlight and WP targets are not affected! * Privatized ('_' prefix) internal variable names So that we won't clash with other names that matches these! * clean up Inference targets upstream patch for Identifier check comments clean up * Update Desktop Items upstream patch: fixed EmbeddedResource Added section comments * Added WPF 'tmp_proj' workaround back Some people really need it!!! And no, they don't want to update to net472 * Updated VS Project System support upstream patches: Added Nesting and Dependent files support Workaround for CodeAnalysis, Intellisense, etc... * Build env updates Move packaging related props * WPF/WFF tmp ptoject workaround updates Use '_TargetAssemblyProjectName' Generalize Fixup target Drop '_Sdk' for user facing properties. * Update Project System Support Take 2: DynamicDependentFile not working, keep static evaluation for now! Include missing ProjectSystem.targets file * Prefix '_' to 'IsGeneratedProject' property Since, IsGeneratedProject is not supposed to be a user facing property! * Finalize LanguageTargets Remove Test Hooks Give a common property * Make 'MSBuild:Compile' into a property just like every other custom tool so that we can keep track of it! * Warn when using MSBuild Core for projects that require full MSBuild! * Compat with oboslete properties Issue a warning when using those properties * Add docs for using the SDK For now it only includes migration path from old SDK version. * Update placeholder URL Will work once the PR is merged * Fix condition on using MSBuild Core target Just a little fix
- Loading branch information
Showing
43 changed files
with
501 additions
and
176 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/MaxCPUCount | ||
/BinaryLogger | ||
/DetailedSummary | ||
/Verbosity:minimal | ||
/Verbosity:normal | ||
/NodeReuse:false | ||
/Restore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
# Using the Extras Sdk | ||
|
||
## Migrate from previous versions | ||
|
||
If you're using v1.6+ of the Extras SDK, then you would know that few properties have been changed, and the help is provided as a warning to use the new property names. | ||
|
||
If you're not using the new version, and/or wish to migrate your build system to support this version, here are the instructions to do just that: | ||
|
||
0. BACK UP! BACK UP! (if you're not using version control) | ||
|
||
1. First remove any workarounds (check the closed issues first) that you've applied using the previous Extras SDK version. | ||
|
||
2. If you're using Visual Studio IDE v15.6+ (if you can update, then update) and use SDK style. | ||
|
||
Your project diff: | ||
|
||
```diff | ||
- <Project Sdk="Microsoft.NET.Sdk"> | ||
+ <Project Sdk="MSBuild.Sdk.Extras"> | ||
<!-- OTHER PROPERTIES --> | ||
<PropertyGroup> | ||
<TargetFrameworks>net46;uwp10.0;tizen40</TargetFrameworks> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
- <PackageReference Include="MSBuild.Sdk.Extras" Version="1.6.0" PrivateAssets="All"/> | ||
<!-- OTHER PACKAGES/INCLUDES --> | ||
</ItemGroup> | ||
|
||
- <Import Project="$(MSBuildSdkExtrasTargets)" Condition="Exists('$(MSBuildSdkExtrasTargets)')"/> | ||
<!-- OTHER IMPORTS --> | ||
</Project> | ||
``` | ||
|
||
```diff | ||
- PackageReference style | ||
+ SDK style | ||
``` | ||
|
||
More info: [ReadMe](../README.md) | ||
|
||
3. Remove any UWP/Tizen package referneces as they are implicitly included if you're using SDK style. | ||
|
||
4. Rename these properties to the new ones | ||
|
||
### User facing properties | ||
|
||
| OLD Property | NEW Property/Behaviour | | ||
| --- | ---- | | ||
| `ExtrasSkipLibraryLayout` | `SkipWindowsLibraryLayout` | | ||
| `_SdkSetAndroidResgenFile` | `IncludeAndroidResgenFile` | | ||
| `SuppressWarnIfOldSdkPack` | `IgnoreOldSdkWarning` | | ||
| `ExtrasUwpMetaPackageVersion` | `_ImplicitPlatformPackageVersion` + `TargetFramework` condition | | ||
| `ExtrasImplicitPlatformPackageDisabled` | `DisableImplicitFrameworkReferences` + `TargetFramework` condition | | ||
| `ExtrasImplicitPlatformPackageIsPrivate` | Auto set for library like items | | ||
| `EmbeddedResourceGeneratorVisibilityIsInternal` | opposite of `EmbeddedResourceGeneratedCodeIsPublic` | | ||
|
||
5. If you're using it for WinForms/WPF, you can set `EnableWpfProjectSetup`/`EnableWinFormsProjectSetup` to `true` to include required references and default items. | ||
|
||
6. That's it you're done! If you find any issues during build, check with the [Templates/TestProjects](../TestProjects) included and create an issue if that doesn't help. | ||
|
||
## Customizing your Build setup | ||
|
||
TBD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.