Skip to content

Commit

Permalink
(MahAppsGH-3531) Use .Net Core 3 Preview 6
Browse files Browse the repository at this point in the history
Use .Net Core 3 Preview 6 now.
  • Loading branch information
punker76 committed Jun 13, 2019
1 parent cb71417 commit db3f7e4
Show file tree
Hide file tree
Showing 8 changed files with 35 additions and 36 deletions.
5 changes: 2 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,15 @@ environment:
secure: BSPdW2TgnQtoQXXbeDECug==

skip_tags: true
image: Visual Studio 2019 Preview
image: Visual Studio 2019
configuration: Release
platform: Any CPU
test: off

# Install dotnet core 3.0 latest (alpha!!), as this is not provided on AppVeyor yet
install:
#- ps: Start-FileDownload 'https://dotnetcli.blob.core.windows.net/dotnet/Sdk/master/dotnet-sdk-latest-win-x64.exe'
#- ps: Start-Process .\dotnet-sdk-latest-win-x64.exe "/install /norestart /quiet /log sdkinstall.log" -NoNewWindow -Wait
#- ps: Start-FileDownload 'https://dotnetcli.blob.core.windows.net/dotnet/Sdk/3.0.100-preview4-010538/dotnet-sdk-3.0.100-preview4-010538-win-x64.exe'
#- ps: Start-Process .\dotnet-sdk-3.0.100-preview4-010538-win-x64.exe "/install /norestart /quiet /log sdkinstall.log" -NoNewWindow -Wait
#- ps: Start-FileDownload 'https://download.visualstudio.microsoft.com/download/pr/4032ceb5-61cd-495a-ab25-475aa2232f28/7eb614e777d87ef0d49f86be4fc8bbde/dotnet-sdk-3.0.100-preview4-011223-win-x64.exe'
#- ps: Start-Process .\dotnet-sdk-3.0.100-preview4-011223-win-x64.exe "/install /norestart /quiet /log sdkinstall.log" -NoNewWindow -Wait
- cinst dotnetcore-sdk --pre
Expand Down
4 changes: 2 additions & 2 deletions src/Directory.Build.Props
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
</ItemGroup>

<ItemGroup>
<None Remove="**\*.png;**\*.jpg;**\*.ico"/>
<Resource Include="**\*.png;**\*.jpg;**\*.ico"/>
<None Remove="**\*.png;**\*.jpg;**\*.ico" />
<Resource Include="**\*.png;**\*.jpg;**\*.ico" />
</ItemGroup>

<!-- SourceLink -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@
<ApplicationManifest>app.manifest</ApplicationManifest>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\MahApps.Metro\MahApps.Metro.csproj"/>
<ProjectReference Include="..\..\MahApps.Metro\MahApps.Metro.csproj" />
</ItemGroup>
<ItemGroup>
<Reference Include="System.ComponentModel.Composition" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="MahApps.Metro.IconPacks" Version="3.0.0-alpha*" />
Expand All @@ -26,17 +29,14 @@
<PackageReference Include="Costura.Fody" Version="4.*" />
</ItemGroup>
<ItemGroup>
<Reference Include="System.ComponentModel.Composition"/>
</ItemGroup>
<ItemGroup>
<None Include="app.manifest"/>
<None Remove="App.config"/>
<None Include="app.manifest" />
<None Remove="App.config" />
<AppConfigWithTargetPath Include="App.$(TargetFramework).config">
<TargetPath>$(AssemblyName).config</TargetPath>
</AppConfigWithTargetPath>
</ItemGroup>
<ItemGroup>
<Compile DependentUpon="%(Filename)" SubType="Code" Update="**\obj\**\*.g$(DefaultLanguageSourceExtension)"/>
<Compile DependentUpon="%(Filename)" SubType="Designer" Update="**\*.xaml$(DefaultLanguageSourceExtension)"/>
<Compile DependentUpon="%(Filename)" SubType="Code" Update="**\obj\**\*.g$(DefaultLanguageSourceExtension)" />
<Compile DependentUpon="%(Filename)" SubType="Designer" Update="**\*.xaml$(DefaultLanguageSourceExtension)" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,15 @@
<ApplicationManifest>app.manifest</ApplicationManifest>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\MahApps.Metro\MahApps.Metro.csproj"/>
<ProjectReference Include="..\..\MahApps.Metro\MahApps.Metro.csproj" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' != 'netcoreapp3.0'">
<Reference Include="System.ComponentModel.DataAnnotations"/>
<Reference Include="System.ComponentModel.DataAnnotations" />
</ItemGroup>
<ItemGroup>
<Reference Include="System.Globalization" />
<Reference Include="System.Windows.Forms" />
<Reference Include="WindowsFormsIntegration" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="MahApps.Metro.IconPacks" Version="3.0.0-alpha*" />
Expand All @@ -30,19 +35,14 @@
<PackageReference Include="Costura.Fody" Version="4.*" />
</ItemGroup>
<ItemGroup>
<Reference Include="System.Globalization" />
<Reference Include="System.Windows.Forms"/>
<Reference Include="WindowsFormsIntegration"/>
</ItemGroup>
<ItemGroup>
<None Include="app.manifest"/>
<None Remove="App.config"/>
<None Include="app.manifest" />
<None Remove="App.config" />
<AppConfigWithTargetPath Include="App.$(TargetFramework).config">
<TargetPath>$(AssemblyName).config</TargetPath>
</AppConfigWithTargetPath>
</ItemGroup>
<ItemGroup>
<Compile DependentUpon="%(Filename)" SubType="Code" Update="**\obj\**\*.g$(DefaultLanguageSourceExtension)"/>
<Compile DependentUpon="%(Filename)" SubType="Designer" Update="**\*.xaml$(DefaultLanguageSourceExtension)"/>
<Compile DependentUpon="%(Filename)" SubType="Code" Update="**\obj\**\*.g$(DefaultLanguageSourceExtension)" />
<Compile DependentUpon="%(Filename)" SubType="Designer" Update="**\*.xaml$(DefaultLanguageSourceExtension)" />
</ItemGroup>
</Project>
6 changes: 3 additions & 3 deletions src/MahApps.Metro/Directory.Build.Targets
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">

<!-- NuGet -->
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<PropertyGroup>
<Authors>Jan Karger, Dennis Daume, Brendan Forster, Paul Jenkins, Jake Ginnivan, Alex Mitchell</Authors>
<PackageLicenseUrl>https://github.com/MahApps/MahApps.Metro/blob/develop/LICENSE</PackageLicenseUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/MahApps/MahApps.Metro</PackageProjectUrl>
<PackageIconUrl>https://raw.githubusercontent.com/MahApps/MahApps.Metro/develop/mahapps.metro.logo.png</PackageIconUrl>
<PackageTags>WPF;UI;Metro;Modern;Material;XAML;Toolkit;Library;.NET;OSS;OpenSource</PackageTags>
Expand All @@ -20,5 +20,5 @@
<PublicSign Condition=" '$(OS)' != 'Windows_NT' ">true</PublicSign>
</PropertyGroup>

<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.Targets', '$(MSBuildThisFileDirectory)../'))"/>
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.Targets', '$(MSBuildThisFileDirectory)../'))" />
</Project>
4 changes: 2 additions & 2 deletions src/MahApps.Metro/MahApps.Metro.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
<ItemGroup Condition="'$(TargetFramework)' != 'netcoreapp3.0'">
<Reference Include="System.ComponentModel.DataAnnotations"/>
<Reference Include="System.Configuration"/>
<Reference Include="System.ComponentModel.DataAnnotations" />
<Reference Include="System.Configuration" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="ControlzEx" Version="[4.0.0-alpha*, 5.0)" />
Expand Down
12 changes: 6 additions & 6 deletions src/Mahapps.Metro.Tests/MahApps.Metro.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
<RootNamespace>MahApps.Metro.Tests</RootNamespace>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\MahApps.Metro\MahApps.Metro.csproj"/>
<ProjectReference Include="..\MahApps.Metro\MahApps.Metro.csproj" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' != 'netcoreapp3.0'">
<Reference Include="Microsoft.CSharp"/>
<Reference Include="System.ComponentModel.DataAnnotations"/>
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.ComponentModel.DataAnnotations" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="12.*" PrivateAssets="All" />
Expand All @@ -23,13 +23,13 @@
</ItemGroup>
<!-- Items include -->
<ItemGroup>
<None Remove="TestApp.config"/>
<None Remove="TestApp.config" />
<AppConfigWithTargetPath Include="TestApp.$(TargetFramework).config">
<TargetPath>$(AssemblyName).config</TargetPath>
</AppConfigWithTargetPath>
</ItemGroup>
<ItemGroup>
<Compile DependentUpon="%(Filename)" SubType="Code" Update="**\obj\**\*.g$(DefaultLanguageSourceExtension)"/>
<Compile DependentUpon="%(Filename)" SubType="Designer" Update="**\*.xaml$(DefaultLanguageSourceExtension)"/>
<Compile DependentUpon="%(Filename)" SubType="Code" Update="**\obj\**\*.g$(DefaultLanguageSourceExtension)" />
<Compile DependentUpon="%(Filename)" SubType="Designer" Update="**\*.xaml$(DefaultLanguageSourceExtension)" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion src/global.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"sdk": {
"version": "3.0.100-preview5"
"version": "3.0.100-preview6"
}
}

0 comments on commit db3f7e4

Please sign in to comment.