Skip to content

Commit fc02d05

Browse files
authored
Add install.ps1 for source generators/analyzers (#625)
1 parent e59159a commit fc02d05

File tree

9 files changed

+563
-5
lines changed

9 files changed

+563
-5
lines changed

samples/Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
</PropertyGroup>
1111

1212
<!-- When consuming the NuGet package, this is automatically added, but we must add it manually -->
13-
<Import Project="$(MSBuildThisFileDirectory)../src/Microsoft.AspNetCore.SystemWebAdapters/Build/Microsoft.AspNetCore.SystemWebAdapters.props"/>
13+
<Import Project="$(MSBuildThisFileDirectory)../src/Microsoft.AspNetCore.SystemWebAdapters/build/Microsoft.AspNetCore.SystemWebAdapters.props"/>
1414

1515
<PropertyGroup>
1616
<!-- This allows the first build to be correct without any warnings on a new clone of the repo -->

samples/Directory.Build.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@
3535
</Target>
3636

3737
<!-- When consuming the NuGet package, this is automatically added, but we must add it manually -->
38-
<Import Project="$(MSBuildThisFileDirectory)../src/Microsoft.AspNetCore.SystemWebAdapters/Build/Microsoft.AspNetCore.SystemWebAdapters.targets"/>
38+
<Import Project="$(MSBuildThisFileDirectory)../src/Microsoft.AspNetCore.SystemWebAdapters/build/Microsoft.AspNetCore.SystemWebAdapters.targets"/>
3939
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.targets', '$(MSBuildThisFileDirectory)../'))" />
4040
</Project>

src/Microsoft.AspNetCore.SystemWebAdapters/Microsoft.AspNetCore.SystemWebAdapters.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@
7373
</ItemGroup>
7474

7575
<ItemGroup>
76-
<None Include="Build\*" Pack="true" PackagePath="Build\" />
76+
<None Include="build\*" Pack="true" PackagePath="build\" />
77+
<None Include="tools\*" Pack="true" PackagePath="tools\" />
7778
</ItemGroup>
7879

7980
<Import Project="Analyzers.targets" />

src/Microsoft.AspNetCore.SystemWebAdapters/tools/install.ps1

Lines changed: 275 additions & 0 deletions
Large diffs are not rendered by default.

src/Microsoft.AspNetCore.SystemWebAdapters/tools/uninstall.ps1

Lines changed: 282 additions & 0 deletions
Large diffs are not rendered by default.

test/Microsoft.AspNetCore.SystemWebAdapters.NuGet.Tests/Microsoft.AspNetCore.SystemWebAdapters.NuGet.Tests.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3-
<Import Project="$(SolutionRootDirectory)src/Microsoft.AspNetCore.SystemWebAdapters/Build/Microsoft.AspNetCore.SystemWebAdapters.props" />
3+
<Import Project="$(SolutionRootDirectory)src/Microsoft.AspNetCore.SystemWebAdapters/build/Microsoft.AspNetCore.SystemWebAdapters.props" />
44

55
<PropertyGroup>
66
<TargetFrameworks>net8.0</TargetFrameworks>
@@ -17,6 +17,6 @@
1717
<PackageReference Include="jQuery" CopyContent="true" />
1818
</ItemGroup>
1919

20-
<Import Project="$(SolutionRootDirectory)src/Microsoft.AspNetCore.SystemWebAdapters/Build/Microsoft.AspNetCore.SystemWebAdapters.targets" />
20+
<Import Project="$(SolutionRootDirectory)src/Microsoft.AspNetCore.SystemWebAdapters/build/Microsoft.AspNetCore.SystemWebAdapters.targets" />
2121

2222
</Project>

0 commit comments

Comments
 (0)