Skip to content

Commit

Permalink
Reduce DevExpress references
Browse files Browse the repository at this point in the history
  • Loading branch information
awaescher committed Mar 16, 2020
1 parent 3f4c8b9 commit bb6ecec
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 10 deletions.
8 changes: 4 additions & 4 deletions Fusion++.Tests/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@

[assembly: Guid("967e8901-43de-4af1-86df-bb18c8949c44")]

// [assembly: AssemblyVersion("1.1.1.0")]
[assembly: AssemblyVersion("1.1.1.0")]
[assembly: AssemblyFileVersion("1.1.1.0")]
// [assembly: AssemblyVersion("1.2.0.0")]
[assembly: AssemblyVersion("1.2.0.0")]
[assembly: AssemblyFileVersion("1.2.0.0")]

[assembly: AssemblyInformationalVersion("1.1.1-netcore.1+17.Branch.feature/netcore.Sha.09126cceaac7471eac58c87cdd14143fe198120f")]
[assembly: AssemblyInformationalVersion("1.2.0+Branch.master.Sha.3f4c8b95ce6955674493af180e6242e95fe6b84d")]
12 changes: 7 additions & 5 deletions Fusion++/Fusion++.csproj
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">

<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<RootNamespace>FusionPlusPlus</RootNamespace>
<UseWindowsForms>true</UseWindowsForms>
<ApplicationManifest>app.manifest</ApplicationManifest>
<AssemblyVersion>1.1.0.0</AssemblyVersion>
<Version>1.1.0</Version>
<FileVersion>1.1.0.0</FileVersion>
<AssemblyVersion>1.2</AssemblyVersion>
<Version>1.2.0.0</Version>
<FileVersion>1.2.0.0</FileVersion>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="DevExpress.WindowsDesktop.Win" Version="19.2.6-ctp" />
<PackageReference Include="DevExpress.WindowsDesktop.Win.Bars" Version="19.2.6-ctp" />
<PackageReference Include="DevExpress.WindowsDesktop.Win.Grid" Version="19.2.6-ctp" />
<PackageReference Include="DevExpress.WindowsDesktop.Win.RichEdit" Version="19.2.6-ctp" />
</ItemGroup>

<ItemGroup>
Expand Down
6 changes: 5 additions & 1 deletion build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ Task("SetVersion")
_appVersion = $"{gitVersion.Major}.{gitVersion.Minor}" + (gitVersion.Patch == 0 ? "" : $".{gitVersion.Patch}");
var fullVersion = gitVersion.AssemblySemVer;
ReplaceRegexInFiles("./**/*.csproj", "(?<=<AssemblyVersion>).*?(?=</AssemblyVersion>)", _appVersion);
ReplaceRegexInFiles("./**/*.csproj", "(?<=<Version>).*?(?=</Version>)", fullVersion);
ReplaceRegexInFiles("./**/*.csproj", "(?<=<FileVersion>).*?(?=</FileVersion>)", fullVersion);
Information($"AppVersion:\t{_appVersion}");
Information($"FullVersion:\t{fullVersion}");
});
Expand Down Expand Up @@ -138,7 +142,7 @@ Task("Publish")
// files are published to Fusion++\bin\Release\netcoreapp3.1\win-x64\publish
CopyFiles($"./Fusion++/bin/{configuration}/{netcoreTargetFramework}/{settings.Runtime}/publish/**/*", _outputDir, true);
foreach (var extension in new string[]{"pdb", "config", "xml"})
DeleteFiles(_outputDir.Path + "/*." + extension);
});
Expand Down

0 comments on commit bb6ecec

Please sign in to comment.