Repository navigation
Add NET Core Templates - #44
Conversation
| @@ -0,0 +1,115 @@ | |||
| <?xml version="1.0" encoding="utf-8"?> | |||
| <RuleSet Name="Common diagnostic rules to run during build for all shipping Roslyn projects" Description="This file contains diagnostic settings used by all Roslyn projects. Projects that need specific settings should have their own rule set files that Include this one, and then make the neceessary adjustments." ToolsVersion="14.0"> | |||
There was a problem hiding this comment.
Do we consider this repo to be a "Roslyn" repo? The name of this ruleset doesn't seem correct in this repo.
|
Can we close dotnet/project-system#293 with this pull? |
| xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
|
|
||
| <PropertyGroup> | ||
| <XUnitPath>$(NuGetPackageRoot)\xunit.runner.console\2.1.0\tools\xunit.console.x86.exe</XUnitPath> |
There was a problem hiding this comment.
Will this work x-plat? I believe you need to use dotnet and xunit.console.netcore.exe.
|
|
||
| <PropertyGroup> | ||
| <ProjectDir>$(MSBuildThisFileDirectory)..\..\</ProjectDir> | ||
| <NuGetToolPath Condition="">$(ProjectDir)build\bin\nuget.exe</NuGetToolPath> |
There was a problem hiding this comment.
This files doesn't actually exist right? We have been using the NuGet that comes with the CLI in the rest of the code/build.
|
I've cleaned up the template setup build to remove unnecessary targets and content. #64 tracks remaining work items which will be handled in subsequent PRs. /cc @dotnet/project-system |
| </ItemGroup> | ||
|
|
||
| <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> | ||
| </Project> No newline at end of file |
There was a problem hiding this comment.
Just to double check: how exactly project system's targets and xaml rules will be deployed to user machine (and where) and how they are imported? Will they some how imported by this Microsoft.CSharp.targets?
There was a problem hiding this comment.
They get deployed to $(MSBuildDir)\Microsoft\Managed. Yes the CSharp.targets includes the DesingTime targets if it exists which then brings in all the XAML files
|
@dotnet-bot retest this please |
| </Target> | ||
|
|
||
| <Target Name="SignPackages"> | ||
| <Target Name="SignPackages" Condition="'$(BuildTemplates)' != 'true'"> |
There was a problem hiding this comment.
Does the .vsix need to be signed?
There was a problem hiding this comment.
Signing is handled by the Microsoft.Dotnet.Core.Signing.proj project. This prevents it from being called twice. I'll update the config with directives to sign the vsix as well.
In reply to: 75686108 [](ancestors = 75686108)
| "version": "1.0.0" | ||
| }, | ||
| "Microsoft.DotNet.Core.Sdk": { | ||
| "version": "1.0.0-alpha-20160811-5" |
There was a problem hiding this comment.
Can't we use a version string here to line up with the version that's going to be built?
|
👍 |
Fix the extension in web.config for standalone apps
Advance WORKLOAD_BUNDLE_SHA256 from 929b7263 (kit dotnet#43) to 3b3008a4, the kit dotnet#44 repack of openharmony-workload-1.0.0-preview.28: the Sdk pack carries the dynamic overlay pool hosting (SLOTS-DYNAMIC) and the new shell (ui abc 368,812/1076a700, headless 24,324/798b2477, pages/Index.ets 325,055/c29640dd), the unchanged host (297,888/7b1694d9), the P2c skills[].uris targets (77,401/9d0389d4) and tasks (40,960/0c186779); the Ref/Runtime managed packs were rebuilt from the same sources (SLOTS-DYNAMIC hosting) and the AspNetCore/BCL/Sdk containers were refreshed. Installer tests: 43/43 + 10/10 + 5/5, fetch-nativeaot --local content check OK (r2 OpenSSL shim 5/5).
Advance WORKLOAD_BUNDLE_SHA256 from 3b3008a4 (kit dotnet#44) to a8334c4c, the kit dotnet#45 repack of openharmony-workload-1.0.0-preview.28: the Sdk pack carries the INTERP-RENDER layout-gated slice and the AUTODISCONNECT hosting (MAUI 189b87ca8a on top of 7c731a7ca3 INTERP-RENDER on top of 3feb347414 SLOTS-DYNAMIC), the unchanged shell (ui abc 368,812/1076a700, headless 24,324/798b2477, pages/Index.ets 325,055/c29640dd), the unchanged host (297,888/7b1694d9), the P2c skills[].uris targets (77,401/9d0389d4) and tasks (40,960/0c186779); the Ref/Runtime managed packs were rebuilt from the same sources and the AspNetCore/BCL/Sdk containers were refreshed. Installer tests: 43/43 + 10/10 + 5/5, fetch-nativeaot --local content check OK (r2 OpenSSL shim 5/5).
Add a .NET Core template for C#. The setup project produces a VSIX which can be installed in Visual Studio.