diff --git a/Umbraco.Code.Tests/Umbraco.Code.Tests.csproj b/Umbraco.Code.Tests/Umbraco.Code.Tests.csproj
index f1356c8..3ef1ace 100644
--- a/Umbraco.Code.Tests/Umbraco.Code.Tests.csproj
+++ b/Umbraco.Code.Tests/Umbraco.Code.Tests.csproj
@@ -1,27 +1,18 @@
-
- net5.0
-
+ net6.0
false
-
- latest
-
-
-
-
+
+
-
-
-
-
+
+
-
diff --git a/Umbraco.Code/Umbraco.Code.csproj b/Umbraco.Code/Umbraco.Code.csproj
index 6748a1e..b55bba9 100644
--- a/Umbraco.Code/Umbraco.Code.csproj
+++ b/Umbraco.Code/Umbraco.Code.csproj
@@ -1,29 +1,27 @@
+
+ netstandard2.0
+ Umbraco HQ
+ Umbraco
+ Copyright © Umbraco $([System.DateTime]::Today.ToString('yyyy'))
+ Umbraco Code
+ https://github.com/umbraco/Umbraco-Code
+ https://github.com/umbraco/Umbraco-Code
+ https://umbraco.com/dist/nuget/logo-small.png
+ MIT
+ umbraco
+ en-US
+ false
+ true
+ 2.1.0
+ Code-level tools for Umbraco
+
-
- netstandard2.0
- false
- True
- latest
- 2.0.0
- Umbraco HQ
- Umbraco
- https://github.com/umbraco/Umbraco-Code
- https://github.com/umbraco/Umbraco-Code
- Code-level tools for Umbraco
- Copyright (C) Umbraco 2019
- http://opensource.org/licenses/MIT
- https://umbraco.com/dist/nuget/logo-small.png
-
+
+
+
-
-
-
-
-
-
-
-
+
+
+
diff --git a/Umbraco.Code/tools/install.ps1 b/Umbraco.Code/tools/install.ps1
deleted file mode 100644
index c1c3d88..0000000
--- a/Umbraco.Code/tools/install.ps1
+++ /dev/null
@@ -1,58 +0,0 @@
-param($installPath, $toolsPath, $package, $project)
-
-if($project.Object.SupportsPackageDependencyResolution)
-{
- if($project.Object.SupportsPackageDependencyResolution())
- {
- # Do not install analyzers via install.ps1, instead let the project system handle it.
- return
- }
-}
-
-$analyzersPaths = Join-Path (Join-Path (Split-Path -Path $toolsPath -Parent) "analyzers") * -Resolve
-
-foreach($analyzersPath in $analyzersPaths)
-{
- if (Test-Path $analyzersPath)
- {
- # Install the language agnostic analyzers.
- foreach ($analyzerFilePath in Get-ChildItem -Path "$analyzersPath\*.dll" -Exclude *.resources.dll)
- {
- if($project.Object.AnalyzerReferences)
- {
- $project.Object.AnalyzerReferences.Add($analyzerFilePath.FullName)
- }
- }
- }
-}
-
-# $project.Type gives the language name like (C# or VB.NET)
-$languageFolder = ""
-if($project.Type -eq "C#")
-{
- $languageFolder = "cs"
-}
-if($project.Type -eq "VB.NET")
-{
- $languageFolder = "vb"
-}
-if($languageFolder -eq "")
-{
- return
-}
-
-foreach($analyzersPath in $analyzersPaths)
-{
- # Install language specific analyzers.
- $languageAnalyzersPath = join-path $analyzersPath $languageFolder
- if (Test-Path $languageAnalyzersPath)
- {
- foreach ($analyzerFilePath in Get-ChildItem -Path "$languageAnalyzersPath\*.dll" -Exclude *.resources.dll)
- {
- if($project.Object.AnalyzerReferences)
- {
- $project.Object.AnalyzerReferences.Add($analyzerFilePath.FullName)
- }
- }
- }
-}
\ No newline at end of file
diff --git a/Umbraco.Code/tools/uninstall.ps1 b/Umbraco.Code/tools/uninstall.ps1
deleted file mode 100644
index 65a8623..0000000
--- a/Umbraco.Code/tools/uninstall.ps1
+++ /dev/null
@@ -1,65 +0,0 @@
-param($installPath, $toolsPath, $package, $project)
-
-if($project.Object.SupportsPackageDependencyResolution)
-{
- if($project.Object.SupportsPackageDependencyResolution())
- {
- # Do not uninstall analyzers via uninstall.ps1, instead let the project system handle it.
- return
- }
-}
-
-$analyzersPaths = Join-Path (Join-Path (Split-Path -Path $toolsPath -Parent) "analyzers") * -Resolve
-
-foreach($analyzersPath in $analyzersPaths)
-{
- # Uninstall the language agnostic analyzers.
- if (Test-Path $analyzersPath)
- {
- foreach ($analyzerFilePath in Get-ChildItem -Path "$analyzersPath\*.dll" -Exclude *.resources.dll)
- {
- if($project.Object.AnalyzerReferences)
- {
- $project.Object.AnalyzerReferences.Remove($analyzerFilePath.FullName)
- }
- }
- }
-}
-
-# $project.Type gives the language name like (C# or VB.NET)
-$languageFolder = ""
-if($project.Type -eq "C#")
-{
- $languageFolder = "cs"
-}
-if($project.Type -eq "VB.NET")
-{
- $languageFolder = "vb"
-}
-if($languageFolder -eq "")
-{
- return
-}
-
-foreach($analyzersPath in $analyzersPaths)
-{
- # Uninstall language specific analyzers.
- $languageAnalyzersPath = join-path $analyzersPath $languageFolder
- if (Test-Path $languageAnalyzersPath)
- {
- foreach ($analyzerFilePath in Get-ChildItem -Path "$languageAnalyzersPath\*.dll" -Exclude *.resources.dll)
- {
- if($project.Object.AnalyzerReferences)
- {
- try
- {
- $project.Object.AnalyzerReferences.Remove($analyzerFilePath.FullName)
- }
- catch
- {
-
- }
- }
- }
- }
-}
\ No newline at end of file