Skip to content

Add NET Core Templates - #44

Merged
natidea merged 17 commits into
dotnet:masterfrom
natidea:coreTemplates
Aug 22, 2016
Merged

natidea merged 17 commits into
dotnet:masterfrom
natidea:coreTemplates

Conversation

@natidea

@natidea natidea commented Aug 15, 2016 •

Copy link
Copy Markdown
Contributor

Add a .NET Core template for C#. The setup project produces a VSIX which can be installed in Visual Studio.

Comment thread build/Rulesets/Roslyn.ruleset Outdated
@@ -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">

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we consider this repo to be a "Roslyn" repo? The name of this ruleset doesn't seem correct in this repo.

@333fred

333fred commented Aug 15, 2016

Copy link
Copy Markdown
Member

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>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will this work x-plat? I believe you need to use dotnet and xunit.console.netcore.exe.

@natidea natidea changed the title [Personal Review] Add NET Core Templates Add NET Core Templates Aug 18, 2016
Comment thread build/Targets/Settings.targets Outdated

<PropertyGroup>
<ProjectDir>$(MSBuildThisFileDirectory)..\..\</ProjectDir>
<NuGetToolPath Condition="">$(ProjectDir)build\bin\nuget.exe</NuGetToolPath>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@natidea

natidea commented Aug 18, 2016

Copy link
Copy Markdown
Contributor Author

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@natidea

natidea commented Aug 21, 2016 •

Copy link
Copy Markdown
Contributor Author

Comment thread build/build.proj
</Target>

<Target Name="SignPackages">
<Target Name="SignPackages" Condition="'$(BuildTemplates)' != 'true'">

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does the .vsix need to be signed?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't we use a version string here to line up with the version that's going to be built?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, trying to add that with . Tracked by #64


In reply to: 75766582 [](ancestors = 75766582)

@srivatsn

Copy link
Copy Markdown
Contributor

👍

@natidea
natidea merged commit a1ab0c0 into dotnet:master Aug 22, 2016
nguerrera pushed a commit that referenced this pull request Oct 10, 2016
sbomer pushed a commit to sbomer/sdk that referenced this pull request Sep 19, 2017
mmitche pushed a commit to mmitche/sdk that referenced this pull request Jun 5, 2020
Fix the extension in web.config for standalone apps
springmin added a commit to springmin/sdk-ohos that referenced this pull request Oct 4, 2026
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).
springmin added a commit to springmin/sdk-ohos that referenced this pull request Oct 4, 2026
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).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants