Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.App.Ref" Version="10.0.0-preview.4.25258.110" IncludeAssets="none" PrivateAssets="all" GeneratePathProperty="true"/>
<PackageReference Include="Microsoft.AspNetCore.App.Ref" Version="10.0.0-preview.6.25358.103" IncludeAssets="none" PrivateAssets="all" GeneratePathProperty="true"/>
</ItemGroup>

<Import Project="Generated.targets"/>
Expand Down
698 changes: 394 additions & 304 deletions Src/Basic.Reference.Assemblies.AspNet100/Generated.cs

Large diffs are not rendered by default.

620 changes: 316 additions & 304 deletions Src/Basic.Reference.Assemblies.AspNet100/Generated.targets

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NETCore.App.Ref" Version="10.0.0-preview.4.25258.110" IncludeAssets="none" PrivateAssets="all" GeneratePathProperty="true" ExcludeAssets="analyzers"/>
<PackageReference Include="Microsoft.NETCore.App.Ref" Version="10.0.0-preview.6.25358.103" IncludeAssets="none" PrivateAssets="all" GeneratePathProperty="true" ExcludeAssets="analyzers"/>
</ItemGroup>

<Import Project="Generated.targets"/>
</Project>

332 changes: 166 additions & 166 deletions Src/Basic.Reference.Assemblies.Net100/Generated.cs

Large diffs are not rendered by default.

332 changes: 166 additions & 166 deletions Src/Basic.Reference.Assemblies.Net100/Generated.targets

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions Src/Generate/Program.cs
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This script is only runnable on Windows; even if I update the hardcoded USERPROFILE read to use Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), the sorting seems entirely different on Linux, so it changes every generated file.

Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ void Net90()

void Net100()
{
var content = GetGeneratedContent("Net100", [@"microsoft.netcore.app.ref/10.0.0-preview.4.25258.110/ref/net10.0"]);
var content = GetGeneratedContent("Net100", [@"microsoft.netcore.app.ref/10.0.0-preview.6.25358.103/ref/net10.0"]);
var targetDir = Path.Combine(srcPath, "Basic.Reference.Assemblies.Net100");
File.WriteAllText(Path.Combine(targetDir, "Generated.cs"), content.CodeContent, encoding);
File.WriteAllText(Path.Combine(targetDir, "Generated.targets"), content.TargetsContent, encoding);
Expand All @@ -125,7 +125,7 @@ void AspNet90()

void AspNet100()
{
var content = GetGeneratedContent("AspNet100", [@"microsoft.netcore.app.ref/10.0.0-preview.4.25258.110/ref/net10.0", @"microsoft.aspnetcore.app.ref/10.0.0-preview.4.25258.110/ref/net10.0"]);
var content = GetGeneratedContent("AspNet100", [@"microsoft.netcore.app.ref/10.0.0-preview.6.25358.103/ref/net10.0", @"microsoft.aspnetcore.app.ref/10.0.0-preview.6.25358.103/ref/net10.0"]);
var targetDir = Path.Combine(srcPath, "Basic.Reference.Assemblies.AspNet100");
File.WriteAllText(Path.Combine(targetDir, "Generated.cs"), content.CodeContent, encoding);
File.WriteAllText(Path.Combine(targetDir, "Generated.targets"), content.TargetsContent, encoding);
Expand Down