build.ps1 not installing .net core 3.0.100
See original GitHub issueDescription
The build script does not install the .net core version.
Steps to reproduce
- Add a global.json with sdk 3.0.100
{
"sdk": {
"version": "3.0.100"
}
}
- Run the build script on a machine that does not have .net core 3.0.100
[CmdletBinding()]
Param(
[Parameter(Position=0,Mandatory=$false,ValueFromRemainingArguments=$true)]
[string[]]$BuildArguments
)
Write-Output "PowerShell $($PSVersionTable.PSEdition) version $($PSVersionTable.PSVersion)"
Set-StrictMode -Version 2.0; $ErrorActionPreference = "Stop"; $ConfirmPreference = "None"; trap { exit 1 }
$PSScriptRoot = Split-Path $MyInvocation.MyCommand.Path -Parent
###########################################################################
# CONFIGURATION
###########################################################################
$BuildProjectFile = "$PSScriptRoot\build\_build.csproj"
$TempDirectory = "$PSScriptRoot\\.tmp"
$DotNetGlobalFile = "$PSScriptRoot\\global.json"
$DotNetInstallUrl = "https://raw.githubusercontent.com/dotnet/cli/master/scripts/obtain/dotnet-install.ps1"
$DotNetChannel = "Current"
$env:DOTNET_SKIP_FIRST_TIME_EXPERIENCE = 1
$env:DOTNET_CLI_TELEMETRY_OPTOUT = 1
###########################################################################
# EXECUTION
###########################################################################
function ExecSafe([scriptblock] $cmd) {
& $cmd
if ($LASTEXITCODE) { exit $LASTEXITCODE }
}
# If global.json exists, load expected version
if (Test-Path $DotNetGlobalFile) {
$DotNetGlobal = $(Get-Content $DotNetGlobalFile | Out-String | ConvertFrom-Json)
if ($DotNetGlobal.PSObject.Properties["sdk"] -and $DotNetGlobal.sdk.PSObject.Properties["version"]) {
$DotNetVersion = $DotNetGlobal.sdk.version
}
}
# If dotnet is installed locally, and expected version is not set or installation matches the expected version
if ($null -ne (Get-Command "dotnet" -ErrorAction SilentlyContinue) -and `
(!(Test-Path variable:DotNetVersion) -or $(& dotnet --version) -eq $DotNetVersion))
{
$env:DOTNET_EXE = (Get-Command "dotnet").Path
}
else {
$DotNetDirectory = "$TempDirectory\dotnet-win"
$env:DOTNET_EXE = "$DotNetDirectory\dotnet.exe"
# Download install script
$DotNetInstallFile = "$TempDirectory\dotnet-install.ps1"
New-Item -ItemType Directory -Path $TempDirectory | Out-Null
#New-Item -ItemType Directory -Path $TempDirectory -ErrorAction SilentlyContinue | Out-Null
(New-Object System.Net.WebClient).DownloadFile($DotNetInstallUrl, $DotNetInstallFile)
# Install by channel or version
if (!(Test-Path variable:DotNetVersion)) {
ExecSafe { & $DotNetInstallFile -InstallDir $DotNetDirectory -Channel $DotNetChannel -NoPath }
} else {
ExecSafe { & $DotNetInstallFile -InstallDir $DotNetDirectory -Version $DotNetVersion -NoPath }
}
}
Write-Output "Microsoft (R) .NET Core SDK version $(& $env:DOTNET_EXE --version)"
ExecSafe { & $env:DOTNET_EXE build $BuildProjectFile /nodeReuse:false }
ExecSafe { & $env:DOTNET_EXE run --project $BuildProjectFile --no-build -- $BuildArguments }
Relevant log output
.\build.ps1 PowerShell Desktop version 5.1.18362.145
A compatible SDK version for global.json version: [3.0.100] from [C:\Users\user\Source\Repos\PeerlessExpeeriencePrimaryRepository\global.json] was not found
Did you mean to run dotnet SDK commands? Please install dotnet SDK from:
https://go.microsoft.com/fwlink/?LinkID=798306&clcid=0x409
What I have tried
Changing these lines sometimes fixes the issue,
New-Item -ItemType Directory -Path $TempDirectory | Out-Null
#New-Item -ItemType Directory -Path $TempDirectory -ErrorAction SilentlyContinue | Out-Null
Other Issues
I get other issues as well. Even though I install .net core 3.0.100, this target will fail, saying that it could not find 3.0.100.
Target CompileDroid => _ => _
.Produces(OutputDirectory / "*.apk", OutputDirectory / "*.aab")
.DependsOn(Restore)
.Executes(() =>
{
var droid = Solution.GetProject("Peerless.Expeerience.Droid");
MSBuild(_ => _
.SetTargetPath(droid)
.SetTargets("Rebuild")
.SetConfiguration(Configuration)
.SetMaxCpuCount(Environment.ProcessorCount)
.SetNodeReuse(IsLocalBuild)
.SetOutDir(OutputDirectory)
.SetArgumentConfigurator(a => a.Add("/t:PackageForAndroid")));
On Azure Devops, it doesnβt seem to find the dotnet core sdk at all even after installing:
##[section]Starting: PowerShell
==============================================================================
Task : PowerShell
Description : Run a PowerShell script on Linux, macOS, or Windows
Version : 2.151.2
Author : Microsoft Corporation
Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/powershell
==============================================================================
Generating script.
Formatted command: . 'd:\a\2\s\build.ps1' CompileDroid --skip
========================== Starting Command Output ===========================
##[command]"C:\windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command ". 'd:\a\_temp\5491453a-4034-41c1-82e2-0aeb716ded0a.ps1'"
PowerShell Desktop version 5.1.17763.771
Microsoft (R) .NET Core SDK version 3.0.100
Welcome to .NET Core 3.0!
---------------------
SDK Version: 3.0.100
----------------
Explore documentation: https://aka.ms/dotnet-docs
Report issues and find source on GitHub: https://github.com/dotnet/core
Find out what's new: https://aka.ms/dotnet-whats-new
Learn about the installed HTTPS developer cert: https://aka.ms/aspnet-core-https
Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli-docs
Write your first app: https://aka.ms/first-net-core-app
--------------------------------------------------------------------------------------
Microsoft (R) Build Engine version 16.3.0+0f4c62fea for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.
Restore completed in 37.11 sec for D:\a\2\s\build\_build.csproj.
_build -> D:\a\2\s\build\bin\Debug\_build.dll
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:00:49.48
Creating directory 'D:\a\2\s\.tmp'...
ββββΒ Β Β ββββββΒ Β Β ββββββΒ Β βββββββββββ
βββββΒ Β ββββββΒ Β Β ββββββΒ ββββββββββββ
ββββββΒ ββββββΒ Β Β ββββββββββΒ ββββββ
βββββββββββββΒ Β Β ββββββββββΒ ββββββ
βββΒ ββββββββββββββββββΒ Β βββββββββββ
βββΒ Β βββββΒ βββββββΒ βββΒ Β βββββββββββ
[36;1mNUKE Execution Engine version 0.23.4 (Windows,.NETStandard,Version=v2.0)[0m
##[warning]Solution D:\a\2\s\Peerless.Expeerience.sln has an active build configuration for D:\a\2\s\build\_build.csproj.
##[group]CompileDroid
[36;1m> "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\amd64\msbuild.exe" D:\a\2\s\Peerless.Expeerience.Droid\Peerless.Expeerience.Droid.csproj /maxcpucount:2 /nodeReuse:False /p:Configuration=Release /p:OutDir=D:\a\2\s\output /target:Rebuild /t:PackageForAndroid[0m
Microsoft (R) Build Engine version 16.3.2+e481bbf88 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.
Build started 11/25/2019 2:03:04 PM.
1>Project "D:\a\2\s\Peerless.Expeerience.Droid\Peerless.Expeerience.Droid.csproj" on node 1 (Rebuild;PackageForAndroid target(s)).
1>CoreClean:
Creating directory "obj\Release\90\".
1>Project "D:\a\2\s\Peerless.Expeerience.Droid\Peerless.Expeerience.Droid.csproj" (1) is building "D:\a\2\s\Peerless.Expeerience\Peerless.Expeerience.csproj" (2:2) on node 1 (Clean target(s)).
2>CoreClean:
Creating directory "obj\Release\netstandard2.0\".
2>Done Building Project "D:\a\2\s\Peerless.Expeerience\Peerless.Expeerience.csproj" (Clean target(s)).
1>_CleanMsymArchive:
PackageName: com.peerless.xpeerience
_CleanIntermediateIfNuGetsChange:
Skipping target "_CleanIntermediateIfNuGetsChange" because it has no inputs.
_ResolveSdks:
Found Java SDK version 1.8.0.
Found Java SDK version 1.8.0.
_CreatePropertiesCache:
Creating directory "obj\Release\90\stamp\".
_ValidateAndroidPackageProperties:
PackageName: com.peerless.xpeerience
PrepareForBuild:
Creating directory "D:\a\2\s\output\".
1>Project "D:\a\2\s\Peerless.Expeerience.Droid\Peerless.Expeerience.Droid.csproj" (1) is building "D:\a\2\s\Peerless.Expeerience\Peerless.Expeerience.csproj" (2:3) on node 1 (default targets).
2>CoreResGen:
"C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\resgen.exe" /useSourcePath /compile Resx\AppResources.resx,obj\Release\netstandard2.0\Peerless.Expeerience.Resx.AppResources.resources
Processing resource file "Resx\AppResources.resx" into "obj\Release\netstandard2.0\Peerless.Expeerience.Resx.AppResources.resources".
CoreCompile:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\Roslyn\csc.exe /noconfig /unsafe- /checked- /nowarn:1701,1702,1701,1702 /nostdlib+ /errorreport:prompt /warn:4 /define:TRACE;RELEASE;NETSTANDARD;NETSTANDARD2_0 /debug- /debug:portable /filealign:512 /optimize+ /out:obj\Release\netstandard2.0\Peerless.Expeerience.dll /ruleset:"C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Team Tools\Static Analysis Tools\\Rule Sets\MinimumRecommendedRules.ruleset" /resource:obj\Release\netstandard2.0\Peerless.Expeerience.Resx.AppResources.resources /resource:Resources\peerless_logo.svg,Peerless.Expeerience.Resources.peerless_logo.svg /target:library /warnaserror- /utf8output /deterministic+ /langversion:8 App.xaml.cs AppCenterErrorTarget.cs AppCenterInfoTarget.cs CacheKeys.cs Controls\AnimationNavigationPage.cs Controls\BottomNavTabPage.cs Controls\CardLayout.cs Controls\ExtendedExpanderControl.cs Controls\HorizontalList.cs Controls\LazyView.cs Controls\PopupVisibleBehavior.cs Controls\RevolvingCardView.cs Models\AnalyticsModel.cs Models\Animation\AnimatedNavigation.cs Models\Animation\AnimationActionBase.cs Models\Animation\AnimationCell.cs Models\Animation\AnimationHelper.cs Models\Animation\FadeAction.cs Models\Animation\FadeTriggerAction.cs Models\Animation\IAnimationAction.cs Models\Animation\RotateAction.cs Models\Animation\ScaleAction.cs Models\Animation\ScaleTriggerAction.cs Models\Animation\TappedAnimationBehaviorBase.cs Models\Animation\TranslateAction.cs Models\AppCache.cs Models\AppCenterModel.cs Models\AppInfoExpeerience.cs Models\AppInfoModel.cs Models\BackButtonHandler.cs Models\Channel.cs Models\Converters\BoolToColorConverter.cs Models\Converters\ByteArrayToImageSourceConverter.cs Models\Converters\DefaultDateConverter.cs Models\Converters\DelayColorConverter.cs Models\Converters\EasingConverter.cs Models\Converters\EnumerableVisibilityConverter.cs Models\Converters\FractionToPercentConverter.cs Models\Converters\IntEnumConverter.cs Models\Converters\NullOrWhiteSpaceToColorConverter.cs Models\Converters\NullOrWhiteSpaceToSelectBoolConverter.cs Models\Converters\NullToBoolConverter.cs Models\Converters\PassFailImageConverter.cs Models\Converters\PercentageOfConverter.cs Models\Converters\ProjectsVisibilityConverter.cs Models\Converters\ReplaceNullOrWhiteSpaceConverter.cs Models\Converters\ReverseBoolConverter.cs Models\Converters\TrimStringConverter.cs Models\Converters\ValueConvertersExpeerience.cs Models\Converters\WaterTestsColorConverter.cs Models\DeviceModel.cs Models\DocumentRepository.cs Models\Extensions\Extensions.cs Models\Extensions\LoggerExtensions.cs Models\Extensions\MarkupExtensions\AccessVisibility.cs Models\Extensions\MarkupExtensions\BuildingImageMarkupExtension.cs Models\Extensions\MarkupExtensions\FileImageMarkupExtension.cs Models\Extensions\MarkupExtensions\Inject.cs Models\Extensions\MarkupExtensions\WebImageMarkupExtension.cs Models\Extensions\ProjectExtensions.cs Models\FileCacheService.cs Models\FormsAuthenticationManager.cs Models\GeocoderModel.cs Models\Helpers\EventAggregators.cs Models\Helpers\GrialShapesFont.cs Models\Helpers\PeerlessIcons.cs Models\Helpers\Settings.cs Models\Helpers\Theme.cs Models\HierarchyTemplateSelector.cs Models\IFileCacheService.cs Models\Infrastructure\AppMapViewModelBase.cs Models\Interfaces\IAnalytics.cs Models\Interfaces\IAppCenter.cs Models\Interfaces\IAppInfoEssentials.cs Models\Interfaces\IAppMapViewModelBase.cs Models\Interfaces\IBackButtonHandler.cs Models\Interfaces\ICacheAppProperties.cs Models\Interfaces\IChannelRepository.cs Models\Interfaces\ICloseApplication.cs Models\Interfaces\IDocumentsRepository.cs Models\Interfaces\IFormsAuthenticationManager.cs Models\Interfaces\IFreshServiceHelpDeskRepository.cs Models\Interfaces\IGeocoder.cs Models\Interfaces\IGlobalExceptionHandler.cs Models\Interfaces\IHomePage.cs Models\Interfaces\IMainMasterDetailPageView.cs Models\Interfaces\IPinnableObject.cs Models\Interfaces\IProjectDetailsPageViewModel.cs Models\Interfaces\IProjectViewModel.cs Models\Interfaces\IShippingInfo.cs Models\Interfaces\ITrackerTabPage.cs Models\Interfaces\IViewAsUser.cs Models\Interfaces\IWarehouse.cs Models\Interfaces\IWaterTestingCardViewModel.cs Models\Link.cs Models\LoadingTextGenerator.cs Models\NavigationVessel.cs Models\ProjectViewModelBase.cs Models\Repositories\ChannelRepository.cs Models\Repositories\FreshServiceHelpDeskRepository.cs Models\ShipBundle.cs Models\ShipperGroup.cs Models\ShippingInfo.cs Models\TrackerDetail.cs Models\TruckGroup.cs Models\Validators\HelpViewModelValidator.cs Models\ViewAsUser.cs Properties\AssemblyGlobal.cs Properties\AssemblyInfo.cs Resx\AppResources.Designer.cs Themes\GrialDarkTheme.xaml.cs Themes\GrialEnterpriseTheme.xaml.cs Themes\GrialLightTheme.xaml.cs Themes\MyAppTheme.xaml.cs Variables.cs ViewModels\ChatPageViewModel.cs ViewModels\CommunicationsMasterTabPageViewModel.cs ViewModels\Home_Startup\AboutPageViewModel.cs ViewModels\Home_Startup\HelpPageViewModel.cs ViewModels\Home_Startup\HomePageViewModel.cs ViewModels\Home_Startup\INavigationServiceAnimated.cs ViewModels\Home_Startup\LoginPageViewModel.cs ViewModels\Home_Startup\MainMasterDetailPageViewModel.cs ViewModels\Home_Startup\NavigationBarTabPageViewModel.cs ViewModels\Home_Startup\NavigationServiceAnimated.cs ViewModels\Home_Startup\SettingsPageViewModel.cs ViewModels\Home_Startup\TrackerBaseViewModel.cs ViewModels\Home_Startup\WalkthroughPageViewModel.cs ViewModels\Home_Startup\WelcomePageViewModel.cs ViewModels\LinkViewModelBase.cs ViewModels\Misc\CrashPageViewModel.cs ViewModels\Misc\MapTestPageViewModel.cs ViewModels\Misc\MessagingPageViewModel.cs ViewModels\Misc\ProfilePageViewModel.cs ViewModels\Misc\SchedulePageViewModel.cs ViewModels\Misc\SearchPageViewModel.cs ViewModels\Misc\TestPageViewModel.cs ViewModels\MyTeamPageViewModel.cs ViewModels\TestTabbedPageViewModel.cs ViewModels\Tracker\EventsPageViewModel.cs ViewModels\Tracker\ProjectAwareBase.cs ViewModels\Tracker\ProjectDetailsPageViewModel.cs ViewModels\Tracker\TrackerPageViewModel.cs ViewModels\Tracker\TrackerTabPageViewModel.cs ViewModels\Tracker\TruckDetailsPageViewModel.cs ViewModels\Tracker\TrucksPageViewModel.cs ViewModels\Tracker\WaterTestsPageViewModel.cs ViewModels\WarehouseCardViewModel.cs ViewModels\WarehousesPageViewModel.cs ViewModels\WaterTestingCardViewModel.cs Views\ChatPage.xaml.cs Views\Common\Badge.xaml.cs Views\Common\BrandBlock.xaml.cs Views\Common\CustomActivityIndicator.xaml.cs Views\Common\RoundedLabel.xaml.cs Views\CommunicationsMasterTabPage.xaml.cs Views\Home_Startup\AboutPage.xaml.cs Views\Home_Startup\HelpPage.xaml.cs Views\Home_Startup\HomePage.xaml.cs Views\Home_Startup\LoginPage.xaml.cs Views\Home_Startup\MainMasterDetailPage.xaml.cs Views\Home_Startup\NavigationBarTabPage.xaml.cs Views\Home_Startup\SettingsPage.xaml.cs Views\Home_Startup\ViewComponents\ProgressOverview.xaml.cs Views\Home_Startup\WalkthroughPage.xaml.cs Views\Home_Startup\WelcomePage.xaml.cs Views\Misc\CrashPage.xaml.cs Views\Misc\MessagingPage.xaml.cs Views\Misc\ProfilePage.xaml.cs Views\Misc\SchedulePage.xaml.cs Views\Misc\SearchPage.xaml.cs Views\Misc\ViewComponents\MessagingPageContent.xaml.cs Views\Misc\ViewComponents\SchedulePageContent.xaml.cs Views\MyTeamPage.xaml.cs Views\Templates\CardListItemTemplate.xaml.cs Views\Templates\ChatLeftMessageItemTemplate.xaml.cs Views\Templates\ChatRightMessageItemTemplate.xaml.cs Views\Templates\EventItemTemplate.xaml.cs Views\Templates\FriendItemTemplate.xaml.cs Views\Templates\HomePageCardList.xaml.cs Views\Templates\MessageItemTemplate.xaml.cs Views\Templates\SocialGalleryImage.xaml.cs Views\Templates\SocialHeaderTemplate.xaml.cs Views\TestPages\MapTestPage.xaml.cs Views\TestPages\TestPage.xaml.cs Views\TestPages\TestTabbedPage.xaml.cs Views\Tracker\EventsPage.xaml.cs Views\Tracker\ProjectDetailsPage.xaml.cs Views\Tracker\TrackerPage.xaml.cs Views\Tracker\TrackerTabPage.xaml.cs Views\Tracker\TruckDetailsPage.xaml.cs Views\Tracker\TrucksPage.xaml.cs Views\Tracker\ViewComponents\TruckItemsPopup.xaml.cs Views\Tracker\WaterTestsPage.xaml.cs Views\WarehousesPage.xaml.cs "C:\Users\VssAdministrator\AppData\Local\Temp\.NETStandard,Version=v2.0.AssemblyAttributes.cs" /warnaserror+:NU1605
Using shared compilation with compiler from directory: C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\Roslyn
2>Properties\AssemblyGlobal.cs(6,16): error CS0518: Predefined type 'System.String' is not defined or imported [D:\a\2\s\Peerless.Expeerience\Peerless.Expeerience.csproj]
2>Properties\AssemblyGlobal.cs(8,16): error CS0518: Predefined type 'System.String' is not defined or imported [D:\a\2\s\Peerless.Expeerience\Peerless.Expeerience.csproj]
2>Properties\AssemblyGlobal.cs(10,16): error CS0518: Predefined type 'System.String' is not defined or imported [D:\a\2\s\Peerless.Expeerience\Peerless.Expeerience.csproj]
2>Properties\AssemblyGlobal.cs(12,16): error CS0518: Predefined type 'System.String' is not defined or imported [D:\a\2\s\Peerless.Expeerience\Peerless.Expeerience.csproj]
2>Properties\AssemblyGlobal.cs(17,16): error CS0518: Predefined type 'System.String' is not defined or imported [D:\a\2\s\Peerless.Expeerience\Peerless.Expeerience.csproj]
2>Properties\AssemblyGlobal.cs(8,37): error CS0518: Predefined type 'System.String' is not defined or imported [D:\a\2\s\Peerless.Expeerience\Peerless.Expeerience.csproj]
2>Properties\AssemblyGlobal.cs(17,39): error CS0518: Predefined type 'System.String' is not defined or imported [D:\a\2\s\Peerless.Expeerience\Peerless.Expeerience.csproj]
2>Properties\AssemblyGlobal.cs(6,33): error CS0518: Predefined type 'System.String' is not defined or imported [D:\a\2\s\Peerless.Expeerience\Peerless.Expeerience.csproj]
2>Properties\AssemblyGlobal.cs(10,30): error CS0518: Predefined type 'System.String' is not defined or imported [D:\a\2\s\Peerless.Expeerience\Peerless.Expeerience.csproj]
2>Properties\AssemblyGlobal.cs(12,45): error CS0518: Predefined type 'System.String' is not defined or imported [D:\a\2\s\Peerless.Expeerience\Peerless.Expeerience.csproj]
2>Properties\AssemblyInfo.cs(5,12): error CS0246: The type or namespace name 'AssemblyTitleAttribute' could not be found (are you missing a using directive or an assembly reference?) [D:\a\2\s\Peerless.Expeerience\Peerless.Expeerience.csproj]
2>Properties\AssemblyInfo.cs(5,12): error CS0246: The type or namespace name 'AssemblyTitle' could not be found (are you missing a using directive or an assembly reference?) [D:\a\2\s\Peerless.Expeerience\Peerless.Expeerience.csproj]
2>Properties\AssemblyInfo.cs(6,12): error CS0246: The type or namespace name 'AssemblyConfigurationAttribute' could not be found (are you missing a using directive or an assembly reference?) [D:\a\2\s\Peerless.Expeerience\Peerless.Expeerience.csproj]
2>Properties\AssemblyInfo.cs(6,12): error CS0246: The type or namespace name 'AssemblyConfiguration' could not be found (are you missing a using directive or an assembly reference?) [D:\a\2\s\Peerless.Expeerience\Peerless.Expeerience.csproj]
2>Properties\AssemblyInfo.cs(7,12): error CS0246: The type or namespace name 'AssemblyCompanyAttribute' could not be found (are you missing a using directive or an assembly reference?) [D:\a\2\s\Peerless.Expeerience\Peerless.Expeerience.csproj]
2>Properties\AssemblyInfo.cs(7,12): error CS0246: The type or namespace name 'AssemblyCompany' could not be found (are you missing a using directive or an assembly reference?) [D:\a\2\s\Peerless.Expeerience\Peerless.Expeerience.csproj]
2>Properties\AssemblyInfo.cs(8,12): error CS0246: The type or namespace name 'AssemblyProductAttribute' could not be found (are you missing a using directive or an assembly reference?) [D:\a\2\s\Peerless.Expeerience\Peerless.Expeerience.csproj]
2>Properties\AssemblyInfo.cs(8,12): error CS0246: The type or namespace name 'AssemblyProduct' could not be found (are you missing a using directive or an assembly reference?) [D:\a\2\s\Peerless.Expeerience\Peerless.Expeerience.csproj]
2>Properties\AssemblyInfo.cs(9,12): error CS0246: The type or namespace name 'AssemblyCopyrightAttribute' could not be found (are you missing a using directive or an assembly reference?) [D:\a\2\s\Peerless.Expeerience\Peerless.Expeerience.csproj]
2>Properties\AssemblyInfo.cs(9,12): error CS0246: The type or namespace name 'AssemblyCopyright' could not be found (are you missing a using directive or an assembly reference?) [D:\a\2\s\Peerless.Expeerience\Peerless.Expeerience.csproj]
2>Properties\AssemblyInfo.cs(13,12): error CS0246: The type or namespace name 'XamlCompilationAttribute' could not be found (are you missing a using directive or an assembly reference?) [D:\a\2\s\Peerless.Expeerience\Peerless.Expeerience.csproj]
2>Properties\AssemblyInfo.cs(13,12): error CS0246: The type or namespace name 'XamlCompilation' could not be found (are you missing a using directive or an assembly reference?) [D:\a\2\s\Peerless.Expeerience\Peerless.Expeerience.csproj]
2>Properties\AssemblyInfo.cs(15,12): error CS0246: The type or namespace name 'UXDivers' could not be found (are you missing a using directive or an assembly reference?) [D:\a\2\s\Peerless.Expeerience\Peerless.Expeerience.csproj]
2>C:\Users\VssAdministrator\AppData\Local\Temp\.NETStandard,Version=v2.0.AssemblyAttributes.cs(4,20): error CS0400: The type or namespace name 'System' could not be found in the global namespace (are you missing an assembly reference?) [D:\a\2\s\Peerless.Expeerience\Peerless.Expeerience.csproj]
2>Properties\AssemblyInfo.cs(5,56): error CS0518: Predefined type 'System.String' is not defined or imported [D:\a\2\s\Peerless.Expeerience\Peerless.Expeerience.csproj]
2>Properties\AssemblyInfo.cs(5,64): error CS0518: Predefined type 'System.String' is not defined or imported [D:\a\2\s\Peerless.Expeerience\Peerless.Expeerience.csproj]
2>Properties\AssemblyInfo.cs(8,58): error CS0518: Predefined type 'System.String' is not defined or imported [D:\a\2\s\Peerless.Expeerience\Peerless.Expeerience.csproj]
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Install .NET on Windows
In this article, you'll learn how to install .NET on Windows. .NET is made up of the runtime and the SDK. The runtime...
Read more >Chocolatey Software | .NET Core SDK 3.0.100
NET Core is a blazing fast, lightweight and modular platform for creating web applications and services that run on Windows, Linux and Mac....
Read more >Command line to install/upgrade .NET Core
Are there command line commands to install or upgrade .NET Core? I checked to see if I had .NET Core was installed on...
Read more >The state of .NET Core on Arch : r/archlinux
Hello,. I'd like to discuss some issues related to working with .NET Core (and Mono) on Arch Linux. Many times in the past...
Read more >Install Microsoft .NET Core SDK
Install Microsoft .NET Core SDK .NET Core Software Development Kit (SDK) is a set of libraries and tools that allow developers to create...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I will close this. The particular issue has been fixed. If anything else pops up, please let me know. Thanks @chrisevans9629 !
Btw, please star the project π