2
0
mirror of https://github.com/hirschmann/nbfc synced 2025-08-22 09:57:09 +00:00

Fix version conflicts during setup on Windows (caused by native images)

This commit is contained in:
Stefan Hirschmann 2019-04-14 20:28:59 +02:00
parent 4e3fe83d4a
commit 36155507c7
24 changed files with 79 additions and 17 deletions

View File

@ -2,10 +2,6 @@
using System.Resources; using System.Resources;
[assembly: AssemblyCompany("StagWare")] [assembly: AssemblyCompany("StagWare")]
[assembly: AssemblyCopyright("Copyright © 2012-2018 Stefan Hirschmann")] [assembly: AssemblyCopyright("Copyright © 2012-2019 Stefan Hirschmann")]
[assembly: AssemblyTrademark("")] [assembly: AssemblyTrademark("")]
[assembly: NeutralResourcesLanguage("en")] [assembly: NeutralResourcesLanguage("en")]
[assembly: AssemblyVersion("1.6.1")]
[assembly: AssemblyFileVersion("1.6.1")]
[assembly: AssemblyInformationalVersion("1.6 beta2")]

View File

@ -0,0 +1,5 @@
using System.Reflection;
[assembly: AssemblyVersion("1.6.3")]
[assembly: AssemblyFileVersion("1.6.3")]
[assembly: AssemblyInformationalVersion("1.6.3")]

View File

@ -79,6 +79,9 @@
<Compile Include="..\..\Common\CommonAssemblyInfo.cs"> <Compile Include="..\..\Common\CommonAssemblyInfo.cs">
<Link>Properties\CommonAssemblyInfo.cs</Link> <Link>Properties\CommonAssemblyInfo.cs</Link>
</Compile> </Compile>
<Compile Include="..\..\Common\CommonAssemblyVersion.cs">
<Link>Properties\CommonAssemblyVersion.cs</Link>
</Compile>
<Compile Include="CommandLineOptions\ConfigVerb.cs" /> <Compile Include="CommandLineOptions\ConfigVerb.cs" />
<Compile Include="CommandLineOptions\HelpGenerator.cs" /> <Compile Include="CommandLineOptions\HelpGenerator.cs" />
<Compile Include="CommandLineOptions\SetVerb.cs" /> <Compile Include="CommandLineOptions\SetVerb.cs" />

View File

@ -63,6 +63,9 @@
<Compile Include="..\..\Common\CommonAssemblyInfo.cs"> <Compile Include="..\..\Common\CommonAssemblyInfo.cs">
<Link>Properties\CommonAssemblyInfo.cs</Link> <Link>Properties\CommonAssemblyInfo.cs</Link>
</Compile> </Compile>
<Compile Include="..\..\Common\CommonAssemblyVersion.cs">
<Link>Properties\CommonAssemblyVersion.cs</Link>
</Compile>
<Compile Include="CommandLineOptions\ECMonitorVerb.cs" /> <Compile Include="CommandLineOptions\ECMonitorVerb.cs" />
<Compile Include="CommandLineOptions\ECWriteVerb.cs" /> <Compile Include="CommandLineOptions\ECWriteVerb.cs" />
<Compile Include="CommandLineOptions\ECReadVerb.cs" /> <Compile Include="CommandLineOptions\ECReadVerb.cs" />

View File

@ -74,6 +74,9 @@
<Compile Include="..\..\Common\CommonAssemblyInfo.cs"> <Compile Include="..\..\Common\CommonAssemblyInfo.cs">
<Link>Properties\CommonAssemblyInfo.cs</Link> <Link>Properties\CommonAssemblyInfo.cs</Link>
</Compile> </Compile>
<Compile Include="..\..\Common\CommonAssemblyVersion.cs">
<Link>Properties\CommonAssemblyVersion.cs</Link>
</Compile>
<Compile Include="NbfcService.cs"> <Compile Include="NbfcService.cs">
<SubType>Component</SubType> <SubType>Component</SubType>
</Compile> </Compile>

View File

@ -46,6 +46,9 @@
<Compile Include="..\..\..\Common\CommonAssemblyInfo.cs"> <Compile Include="..\..\..\Common\CommonAssemblyInfo.cs">
<Link>Properties\CommonAssemblyInfo.cs</Link> <Link>Properties\CommonAssemblyInfo.cs</Link>
</Compile> </Compile>
<Compile Include="..\..\..\Common\CommonAssemblyVersion.cs">
<Link>Properties\CommonAssemblyVersion.cs</Link>
</Compile>
<Compile Include="EmbeddedControllerBase.cs" /> <Compile Include="EmbeddedControllerBase.cs" />
<Compile Include="Properties\AssemblyInfo.cs" /> <Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup> </ItemGroup>

View File

@ -46,6 +46,9 @@
<Compile Include="..\..\..\Common\CommonAssemblyInfo.cs"> <Compile Include="..\..\..\Common\CommonAssemblyInfo.cs">
<Link>Properties\CommonAssemblyInfo.cs</Link> <Link>Properties\CommonAssemblyInfo.cs</Link>
</Compile> </Compile>
<Compile Include="..\..\..\Common\CommonAssemblyVersion.cs">
<Link>Properties\CommonAssemblyVersion.cs</Link>
</Compile>
<Compile Include="HardwareMonitor.cs" /> <Compile Include="HardwareMonitor.cs" />
<Compile Include="Properties\AssemblyInfo.cs" /> <Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup> </ItemGroup>

View File

@ -63,6 +63,9 @@
<Compile Include="..\..\..\Common\CommonAssemblyInfo.cs"> <Compile Include="..\..\..\Common\CommonAssemblyInfo.cs">
<Link>Properties\CommonAssemblyInfo.cs</Link> <Link>Properties\CommonAssemblyInfo.cs</Link>
</Compile> </Compile>
<Compile Include="..\..\..\Common\CommonAssemblyVersion.cs">
<Link>Properties\CommonAssemblyVersion.cs</Link>
</Compile>
<Compile Include="CpuTemperatureMonitor.cs" /> <Compile Include="CpuTemperatureMonitor.cs" />
<Compile Include="Properties\AssemblyInfo.cs" /> <Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup> </ItemGroup>

View File

@ -45,6 +45,9 @@
<Compile Include="..\..\..\Common\CommonAssemblyInfo.cs"> <Compile Include="..\..\..\Common\CommonAssemblyInfo.cs">
<Link>Properties\CommonAssemblyInfo.cs</Link> <Link>Properties\CommonAssemblyInfo.cs</Link>
</Compile> </Compile>
<Compile Include="..\..\..\Common\CommonAssemblyVersion.cs">
<Link>Properties\CommonAssemblyVersion.cs</Link>
</Compile>
<Compile Include="ECLinux.cs" /> <Compile Include="ECLinux.cs" />
<Compile Include="Properties\AssemblyInfo.cs" /> <Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup> </ItemGroup>

View File

@ -42,6 +42,9 @@
<Compile Include="..\..\..\Common\CommonAssemblyInfo.cs"> <Compile Include="..\..\..\Common\CommonAssemblyInfo.cs">
<Link>Properties\CommonAssemblyInfo.cs</Link> <Link>Properties\CommonAssemblyInfo.cs</Link>
</Compile> </Compile>
<Compile Include="..\..\..\Common\CommonAssemblyVersion.cs">
<Link>Properties\CommonAssemblyVersion.cs</Link>
</Compile>
<Compile Include="ECSysLinux.cs" /> <Compile Include="ECSysLinux.cs" />
<Compile Include="Properties\AssemblyInfo.cs" /> <Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup> </ItemGroup>

View File

@ -47,6 +47,9 @@
<Compile Include="..\..\..\Common\CommonAssemblyInfo.cs"> <Compile Include="..\..\..\Common\CommonAssemblyInfo.cs">
<Link>Properties\CommonAssemblyInfo.cs</Link> <Link>Properties\CommonAssemblyInfo.cs</Link>
</Compile> </Compile>
<Compile Include="..\..\..\Common\CommonAssemblyVersion.cs">
<Link>Properties\CommonAssemblyVersion.cs</Link>
</Compile>
<Compile Include="ECWindows.cs" /> <Compile Include="ECWindows.cs" />
<Compile Include="Properties\AssemblyInfo.cs" /> <Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup> </ItemGroup>

View File

@ -63,6 +63,9 @@
<Compile Include="..\..\..\Common\CommonAssemblyInfo.cs"> <Compile Include="..\..\..\Common\CommonAssemblyInfo.cs">
<Link>Properties\CommonAssemblyInfo.cs</Link> <Link>Properties\CommonAssemblyInfo.cs</Link>
</Compile> </Compile>
<Compile Include="..\..\..\Common\CommonAssemblyVersion.cs">
<Link>Properties\CommonAssemblyVersion.cs</Link>
</Compile>
<Compile Include="FSTemperatureMonitor.cs" /> <Compile Include="FSTemperatureMonitor.cs" />
<Compile Include="Properties\AssemblyInfo.cs" /> <Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="TemperatureSource.cs" /> <Compile Include="TemperatureSource.cs" />

View File

@ -10,6 +10,10 @@ using System.Runtime.InteropServices;
[assembly: AssemblyProduct("StagWare.BiosInfo")] [assembly: AssemblyProduct("StagWare.BiosInfo")]
[assembly: AssemblyCulture("")] [assembly: AssemblyCulture("")]
// Version
[assembly: AssemblyVersion("2.0.1.0")]
[assembly: AssemblyFileVersion("2.0.1.0")]
// Setting ComVisible to false makes the types in this assembly not visible // Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from // to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type. // COM, set the ComVisible attribute to true on that type.

View File

@ -10,6 +10,10 @@ using System.Runtime.InteropServices;
[assembly: AssemblyProduct("StagWare.FanControl.Configurations")] [assembly: AssemblyProduct("StagWare.FanControl.Configurations")]
[assembly: AssemblyCulture("")] [assembly: AssemblyCulture("")]
// Version
[assembly: AssemblyVersion("2.5.1.0")]
[assembly: AssemblyFileVersion("2.5.1.0")]
// Setting ComVisible to false makes the types in this assembly not visible // Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from // to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type. // COM, set the ComVisible attribute to true on that type.

View File

@ -67,6 +67,9 @@
<Compile Include="..\..\Common\CommonAssemblyInfo.cs"> <Compile Include="..\..\Common\CommonAssemblyInfo.cs">
<Link>Properties\CommonAssemblyInfo.cs</Link> <Link>Properties\CommonAssemblyInfo.cs</Link>
</Compile> </Compile>
<Compile Include="..\..\Common\CommonAssemblyVersion.cs">
<Link>Properties\CommonAssemblyVersion.cs</Link>
</Compile>
<Compile Include="FanControlInfo.cs" /> <Compile Include="FanControlInfo.cs" />
<Compile Include="FanControlService.cs" /> <Compile Include="FanControlService.cs" />
<Compile Include="FanStatus.cs" /> <Compile Include="FanStatus.cs" />

View File

@ -12,6 +12,10 @@ using System.Runtime.InteropServices;
[assembly: AssemblyProduct("StagWare.FanControl")] [assembly: AssemblyProduct("StagWare.FanControl")]
[assembly: AssemblyCulture("")] [assembly: AssemblyCulture("")]
// Version
[assembly: AssemblyVersion("2.5.2.0")]
[assembly: AssemblyFileVersion("2.5.2.0")]
// Setting ComVisible to false makes the types in this assembly not visible // Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from // to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type. // COM, set the ComVisible attribute to true on that type.

View File

@ -43,6 +43,9 @@
<Compile Include="..\..\Common\CommonAssemblyInfo.cs"> <Compile Include="..\..\Common\CommonAssemblyInfo.cs">
<Link>Properties\CommonAssemblyInfo.cs</Link> <Link>Properties\CommonAssemblyInfo.cs</Link>
</Compile> </Compile>
<Compile Include="..\..\Common\CommonAssemblyVersion.cs">
<Link>Properties\CommonAssemblyVersion.cs</Link>
</Compile>
<Compile Include="DefaultValueAttribute.cs" /> <Compile Include="DefaultValueAttribute.cs" />
<Compile Include="LoadSettingsFailedEventArgs.cs" /> <Compile Include="LoadSettingsFailedEventArgs.cs" />
<Compile Include="Properties\AssemblyInfo.cs" /> <Compile Include="Properties\AssemblyInfo.cs" />

View File

@ -1,7 +1,7 @@
 
Microsoft Visual Studio Solution File, Format Version 12.00 Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15 # Visual Studio Version 16
VisualStudioVersion = 15.0.26430.6 VisualStudioVersion = 16.0.28803.156
MinimumVisualStudioVersion = 10.0.40219.1 MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "StagWare.FanControl", "Core\StagWare.FanControl\StagWare.FanControl.csproj", "{12084B38-C1A2-414C-80A7-B8D02D6F5B84}" Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "StagWare.FanControl", "Core\StagWare.FanControl\StagWare.FanControl.csproj", "{12084B38-C1A2-414C-80A7-B8D02D6F5B84}"
EndProject EndProject
@ -68,6 +68,7 @@ EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Common", "Common", "{C7CC8ECD-A3E9-4391-B933-2F010ED24767}" Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Common", "Common", "{C7CC8ECD-A3E9-4391-B933-2F010ED24767}"
ProjectSection(SolutionItems) = preProject ProjectSection(SolutionItems) = preProject
Common\CommonAssemblyInfo.cs = Common\CommonAssemblyInfo.cs Common\CommonAssemblyInfo.cs = Common\CommonAssemblyInfo.cs
Common\CommonAssemblyVersion.cs = Common\CommonAssemblyVersion.cs
EndProjectSection EndProjectSection
EndProject EndProject
Global Global

View File

@ -68,6 +68,9 @@
<Compile Include="..\..\Common\CommonAssemblyInfo.cs"> <Compile Include="..\..\Common\CommonAssemblyInfo.cs">
<Link>Properties\CommonAssemblyInfo.cs</Link> <Link>Properties\CommonAssemblyInfo.cs</Link>
</Compile> </Compile>
<Compile Include="..\..\Common\CommonAssemblyVersion.cs">
<Link>Properties\CommonAssemblyVersion.cs</Link>
</Compile>
<Compile Include="ConfigManagerTests.cs" /> <Compile Include="ConfigManagerTests.cs" />
<Compile Include="ConfigsTests.cs" /> <Compile Include="ConfigsTests.cs" />
<Compile Include="ExtensionMethods\StringExtensionMethodsTests.cs" /> <Compile Include="ExtensionMethods\StringExtensionMethodsTests.cs" />

View File

@ -63,6 +63,9 @@
<Compile Include="..\..\Common\CommonAssemblyInfo.cs"> <Compile Include="..\..\Common\CommonAssemblyInfo.cs">
<Link>Properties\CommonAssemblyInfo.cs</Link> <Link>Properties\CommonAssemblyInfo.cs</Link>
</Compile> </Compile>
<Compile Include="..\..\Common\CommonAssemblyVersion.cs">
<Link>Properties\CommonAssemblyVersion.cs</Link>
</Compile>
<Compile Include="ArithmeticMeanTemperatureFilterTests.cs" /> <Compile Include="ArithmeticMeanTemperatureFilterTests.cs" />
<Compile Include="FanControlTests.cs" /> <Compile Include="FanControlTests.cs" />
<Compile Include="FanTests.cs" /> <Compile Include="FanTests.cs" />

View File

@ -87,6 +87,9 @@
<Compile Include="..\..\Common\CommonAssemblyInfo.cs"> <Compile Include="..\..\Common\CommonAssemblyInfo.cs">
<Link>Properties\CommonAssemblyInfo.cs</Link> <Link>Properties\CommonAssemblyInfo.cs</Link>
</Compile> </Compile>
<Compile Include="..\..\Common\CommonAssemblyVersion.cs">
<Link>Properties\CommonAssemblyVersion.cs</Link>
</Compile>
<Compile Include="Behaviors\SelectionChangedBehavior.cs" /> <Compile Include="Behaviors\SelectionChangedBehavior.cs" />
<Compile Include="Commands\RelayCommand.cs" /> <Compile Include="Commands\RelayCommand.cs" />
<Compile Include="ExtensionMethods\IconExtensionMethods.cs" /> <Compile Include="ExtensionMethods\IconExtensionMethods.cs" />

View File

@ -115,6 +115,9 @@
<Compile Include="..\..\Common\CommonAssemblyInfo.cs"> <Compile Include="..\..\Common\CommonAssemblyInfo.cs">
<Link>Properties\CommonAssemblyInfo.cs</Link> <Link>Properties\CommonAssemblyInfo.cs</Link>
</Compile> </Compile>
<Compile Include="..\..\Common\CommonAssemblyVersion.cs">
<Link>Properties\CommonAssemblyVersion.cs</Link>
</Compile>
<Compile Include="AppSettings.cs" /> <Compile Include="AppSettings.cs" />
<Compile Include="AutorunEntry.cs" /> <Compile Include="AutorunEntry.cs" />
<Compile Include="DesignData\FanControllerViewModelCollection.cs" /> <Compile Include="DesignData\FanControllerViewModelCollection.cs" />

View File

@ -47,6 +47,9 @@
<Compile Include="..\..\..\Common\CommonAssemblyInfo.cs"> <Compile Include="..\..\..\Common\CommonAssemblyInfo.cs">
<Link>Properties\CommonAssemblyInfo.cs</Link> <Link>Properties\CommonAssemblyInfo.cs</Link>
</Compile> </Compile>
<Compile Include="..\..\..\Common\CommonAssemblyVersion.cs">
<Link>Properties\CommonAssemblyVersion.cs</Link>
</Compile>
<Compile Include="CustomAction.cs" /> <Compile Include="CustomAction.cs" />
<Compile Include="Properties\AssemblyInfo.cs" /> <Compile Include="Properties\AssemblyInfo.cs" />
<Content Include="CustomAction.config" /> <Content Include="CustomAction.config" />

View File

@ -21,9 +21,10 @@
Description="$(var.ProductName) Installer"/> Description="$(var.ProductName) Installer"/>
<!--Upgrade--> <!--Upgrade-->
<!--Use Upgrade instead of MajorUpgrade because the latter doesn't support removing previous versions <MajorUpgrade Schedule="afterInstallInitialize"
before installing upgrades (without checking file versions)--> AllowDowngrades="no"
<Upgrade Id="$(var.UpgradeGuid)"/> AllowSameVersionUpgrades="no"
DowngradeErrorMessage="A newer version of $(var.ProductName) is already installed." />
<!--Media--> <!--Media-->
<Media Id="1" Cabinet="NBFC.cab" EmbedCab="yes" CompressionLevel="high"/> <Media Id="1" Cabinet="NBFC.cab" EmbedCab="yes" CompressionLevel="high"/>
@ -82,10 +83,6 @@
<!--Do actions--> <!--Do actions-->
<InstallExecuteSequence> <InstallExecuteSequence>
<!--Always uninstall existing products before installing updated versions
to avoid problems during up/downgrade-->
<RemoveExistingProducts Before='InstallInitialize' />
<Custom Action="SetInstallFolderForUninstallDriver" Before="UninstallDriver"/> <Custom Action="SetInstallFolderForUninstallDriver" Before="UninstallDriver"/>
<Custom Action="UninstallDriver" After="DeleteServices"/> <Custom Action="UninstallDriver" After="DeleteServices"/>