Upgrade to new project format

This commit is contained in:
Andre Beging
2020-02-25 13:55:43 +01:00
parent c23f9b496b
commit 07a96e7202
9 changed files with 151 additions and 114 deletions

280
eJayLegacy.csproj Normal file
View File

@@ -0,0 +1,280 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{11FFBAAB-CE28-4B77-8C7A-8B15F0007133}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>eJay</RootNamespace>
<AssemblyName>eJayLegacy</AssemblyName>
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<WarningLevel>4</WarningLevel>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<TargetFrameworkProfile />
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
<PublishUrl>publish\</PublishUrl>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom>
<UpdateEnabled>false</UpdateEnabled>
<UpdateMode>Foreground</UpdateMode>
<UpdateInterval>7</UpdateInterval>
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<IsWebBootstrapper>false</IsWebBootstrapper>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>0</WarningLevel>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>Content\money_green.ico</ApplicationIcon>
</PropertyGroup>
<PropertyGroup>
<SignAssembly>false</SignAssembly>
</PropertyGroup>
<PropertyGroup>
<AssemblyOriginatorKeyFile>sgKey.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<PropertyGroup>
<DelaySign>false</DelaySign>
</PropertyGroup>
<PropertyGroup>
<RunPostBuildEvent>Always</RunPostBuildEvent>
</PropertyGroup>
<ItemGroup>
<Reference Include="CurrencyTextBoxControl">
<HintPath>.\CurrencyTextBoxControl.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Windows.Controls.Ribbon" />
<Reference Include="System.Xml" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Xaml">
<RequiredTargetFramework>4.0</RequiredTargetFramework>
</Reference>
<Reference Include="WindowsBase" />
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" />
</ItemGroup>
<ItemGroup>
<ApplicationDefinition Include="App.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</ApplicationDefinition>
<Compile Include="Converters\AmountToColorConverter.cs" />
<Compile Include="Converters\BoolToVisibilityConverter.cs" />
<Compile Include="Data\Database.cs" />
<Compile Include="Data\EJaySettings.cs" />
<Compile Include="Extensions\ExtensionMethods.cs" />
<Compile Include="Helper\PrintHelper.cs" />
<Compile Include="Model\Enums.cs" />
<Compile Include="Model\Transaction.cs" />
<Compile Include="Model\Person.cs" />
<Compile Include="ViewModel\Dialogs\AddTransactionViewModel.cs" />
<Compile Include="ViewModel\Dialogs\DatabaseSelectorDialogViewModel.cs" />
<Compile Include="ViewModel\Dialogs\EditTransactionDialogViewModel.cs" />
<Compile Include="ViewModel\Dialogs\NewPersonDialogViewModel.cs" />
<Compile Include="ViewModel\MainViewModel.cs" />
<Compile Include="ViewModel\ViewModelLocator.cs" />
<Compile Include="View\Dialogs\AddTransactionView.xaml.cs">
<DependentUpon>AddTransactionView.xaml</DependentUpon>
</Compile>
<Compile Include="View\Dialogs\DatabaseSelectorDialogView.xaml.cs">
<DependentUpon>DatabaseSelectorDialogView.xaml</DependentUpon>
</Compile>
<Compile Include="View\Dialogs\EditTransactionDialogView.xaml.cs">
<DependentUpon>EditTransactionDialogView.xaml</DependentUpon>
</Compile>
<Compile Include="View\Dialogs\NewPersonDialogView.xaml.cs">
<DependentUpon>NewPersonDialogView.xaml</DependentUpon>
</Compile>
<Compile Include="View\MainView.xaml.cs">
<DependentUpon>MainView.xaml</DependentUpon>
</Compile>
<Compile Include="App.xaml.cs">
<DependentUpon>App.xaml</DependentUpon>
<SubType>Code</SubType>
</Compile>
<Compile Include="View\ScreenshotView.xaml.cs">
<DependentUpon>ScreenshotView.xaml</DependentUpon>
</Compile>
<Page Include="View\Dialogs\AddTransactionView.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="View\Dialogs\DatabaseSelectorDialogView.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="View\Dialogs\EditTransactionDialogView.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="View\Dialogs\NewPersonDialogView.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="View\MainView.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="View\ScreenshotView.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
</ItemGroup>
<ItemGroup>
<Compile Include="Properties\AssemblyInfo.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
<None Include="sgKey.snk" />
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="costura32\sqlite3.dll">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<Resource Include="Content\icon.ico" />
</ItemGroup>
<ItemGroup>
<Resource Include="Content\addperson.ico" />
</ItemGroup>
<ItemGroup>
<Resource Include="Content\delete.ico" />
</ItemGroup>
<ItemGroup>
<Resource Include="Content\moneybag.ico" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="CurrencyTextBoxControl.dll" />
</ItemGroup>
<ItemGroup>
<None Include="FodyWeavers.xml" />
</ItemGroup>
<ItemGroup>
<Resource Include="Content\money_green.ico" />
<Resource Include="Content\money_red.ico" />
</ItemGroup>
<ItemGroup>
<Resource Include="Content\telegram.ico" />
</ItemGroup>
<ItemGroup>
<Resource Include="Content\telegram.png" />
</ItemGroup>
<ItemGroup>
<Resource Include="Content\camera.ico" />
</ItemGroup>
<ItemGroup>
<Resource Include="Content\camera.png" />
</ItemGroup>
<ItemGroup>
<Resource Include="Content\db_info.ico" />
</ItemGroup>
<ItemGroup>
<Resource Include="Content\db_plus.ico" />
</ItemGroup>
<ItemGroup>
<None Include="nuspec\ejay.nuspec">
<SubType>Designer</SubType>
</None>
</ItemGroup>
<ItemGroup>
<Folder Include="nuget\" />
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include=".NETFramework,Version=v4.6">
<Visible>False</Visible>
<ProductName>Microsoft .NET Framework 4.6 %28x86 und x64%29</ProductName>
<Install>true</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1</ProductName>
<Install>false</Install>
</BootstrapperPackage>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Costura.Fody">
<Version>4.1.0</Version>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="MvvmLight">
<Version>5.4.1.1</Version>
</PackageReference>
<PackageReference Include="SQLiteNetExtensions">
<Version>1.3.0</Version>
</PackageReference>
<PackageReference Include="squirrel.windows">
<Version>1.9.1</Version>
</PackageReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Target Name="PostBuildMacros">
<GetAssemblyIdentity AssemblyFiles="$(TargetPath)">
<Output TaskParameter="Assemblies" ItemName="Targets" />
</GetAssemblyIdentity>
<ItemGroup>
<VersionNumber Include="@(Targets->'%(Version)')" />
</ItemGroup>
</Target>
<PropertyGroup>
<PostBuildEventDependsOn>
$(PostBuildEventDependsOn);
PostBuildMacros;
</PostBuildEventDependsOn>
<PostBuildEvent>set releaseDir="C:\sync\owncloud\dev\Squirrel\eJay"
set longVersion=@(VersionNumber)
set version=%25longVersion:~0,5%25
cd ..\..
cd nuget
echo "moep"
echo %25cd%25
nuget pack ..\nuspec\ejay.nuspec
Squirrel --releasify eJay.%25version%25.nupkg --releaseDir %25releaseDir%25
echo RELEASED Version %25version%25 IN %25releaseDir%25</PostBuildEvent>
</PropertyGroup>
</Project>