@@ -20,7 +20,7 @@ | |||||
<DebugSymbols>true</DebugSymbols> | <DebugSymbols>true</DebugSymbols> | ||||
<DebugType>full</DebugType> | <DebugType>full</DebugType> | ||||
<Optimize>false</Optimize> | <Optimize>false</Optimize> | ||||
<OutputPath>bin\Debug\</OutputPath> | |||||
<OutputPath>..\dll\</OutputPath> | |||||
<DefineConstants>DEBUG;TRACE</DefineConstants> | <DefineConstants>DEBUG;TRACE</DefineConstants> | ||||
<ErrorReport>prompt</ErrorReport> | <ErrorReport>prompt</ErrorReport> | ||||
<WarningLevel>4</WarningLevel> | <WarningLevel>4</WarningLevel> | ||||
@@ -97,7 +97,7 @@ | |||||
<DataGridCheckBoxColumn Binding="{Binding IsGenerated}" | <DataGridCheckBoxColumn Binding="{Binding IsGenerated}" | ||||
Header="是否已经生成激活码" | Header="是否已经生成激活码" | ||||
Width="130" | Width="130" | ||||
CanUserSort="False"> | |||||
CanUserSort="False" Visibility="Hidden"> | |||||
<DataGridCheckBoxColumn.ElementStyle> | <DataGridCheckBoxColumn.ElementStyle> | ||||
<Style TargetType="CheckBox"> | <Style TargetType="CheckBox"> | ||||
<Setter Property="IsEnabled" Value="False"/> | <Setter Property="IsEnabled" Value="False"/> | ||||
@@ -66,7 +66,7 @@ namespace CNAS_DBSync | |||||
try | try | ||||
{ | { | ||||
//绕过验证 | //绕过验证 | ||||
if (!ValidateActivationCode(activationCode)) | |||||
if (ValidateActivationCode(activationCode)) | |||||
{ | { | ||||
IsActivated = true; | IsActivated = true; | ||||
SaveActivation(); // 保存激活状态 | SaveActivation(); // 保存激活状态 | ||||
@@ -14,6 +14,21 @@ | |||||
<NuGetPackageImportStamp> | <NuGetPackageImportStamp> | ||||
</NuGetPackageImportStamp> | </NuGetPackageImportStamp> | ||||
<TargetFrameworkProfile /> | <TargetFrameworkProfile /> | ||||
<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> | ||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||||
<PlatformTarget>x86</PlatformTarget> | <PlatformTarget>x86</PlatformTarget> | ||||
@@ -57,6 +72,7 @@ | |||||
<Reference Include="System.Core" /> | <Reference Include="System.Core" /> | ||||
<Reference Include="System.Management" /> | <Reference Include="System.Management" /> | ||||
<Reference Include="System.ServiceProcess" /> | <Reference Include="System.ServiceProcess" /> | ||||
<Reference Include="System.Web.Extensions" /> | |||||
<Reference Include="System.Xml.Linq" /> | <Reference Include="System.Xml.Linq" /> | ||||
<Reference Include="System.Data.DataSetExtensions" /> | <Reference Include="System.Data.DataSetExtensions" /> | ||||
<Reference Include="Microsoft.CSharp" /> | <Reference Include="Microsoft.CSharp" /> | ||||
@@ -259,6 +275,18 @@ | |||||
<ItemGroup> | <ItemGroup> | ||||
<Content Include="drum_set_16px_1218345_easyicon.net.ico" /> | <Content Include="drum_set_16px_1218345_easyicon.net.ico" /> | ||||
</ItemGroup> | </ItemGroup> | ||||
<ItemGroup> | |||||
<BootstrapperPackage Include=".NETFramework,Version=v4.8"> | |||||
<Visible>False</Visible> | |||||
<ProductName>Microsoft .NET Framework 4.8 %28x86 和 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> | |||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> | <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> | ||||
<Import Project="..\packages\System.Data.SQLite.Core.1.0.111.0\build\net40\System.Data.SQLite.Core.targets" Condition="Exists('..\packages\System.Data.SQLite.Core.1.0.111.0\build\net40\System.Data.SQLite.Core.targets')" /> | <Import Project="..\packages\System.Data.SQLite.Core.1.0.111.0\build\net40\System.Data.SQLite.Core.targets" Condition="Exists('..\packages\System.Data.SQLite.Core.1.0.111.0\build\net40\System.Data.SQLite.Core.targets')" /> | ||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> | <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> | ||||
@@ -0,0 +1,35 @@ | |||||
<?xml version="1.0" encoding="utf-8"?> | |||||
<configuration> | |||||
<appSettings> | |||||
<add key="TargetDBType" value="Oracle" /> | |||||
<add key="InitalOperationPwd" value="zIU7s3Rawog=" /> | |||||
<add key="StartWebApiUrl" value="0" /> | |||||
</appSettings> | |||||
<startup> | |||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" /> | |||||
</startup> | |||||
<runtime> | |||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> | |||||
<dependentAssembly> | |||||
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> | |||||
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" /> | |||||
</dependentAssembly> | |||||
<dependentAssembly> | |||||
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" /> | |||||
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" /> | |||||
</dependentAssembly> | |||||
<dependentAssembly> | |||||
<assemblyIdentity name="System.Threading.Tasks.Extensions" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" /> | |||||
<bindingRedirect oldVersion="0.0.0.0-4.2.0.1" newVersion="4.2.0.1" /> | |||||
</dependentAssembly> | |||||
<dependentAssembly> | |||||
<assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" /> | |||||
<bindingRedirect oldVersion="0.0.0.0-4.0.1.2" newVersion="4.0.1.2" /> | |||||
</dependentAssembly> | |||||
<dependentAssembly> | |||||
<assemblyIdentity name="System.ValueTuple" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" /> | |||||
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" /> | |||||
</dependentAssembly> | |||||
</assemblyBinding> | |||||
</runtime> | |||||
</configuration> |
@@ -0,0 +1,35 @@ | |||||
<?xml version="1.0" encoding="utf-8"?> | |||||
<configuration> | |||||
<appSettings> | |||||
<add key="TargetDBType" value="Oracle" /> | |||||
<add key="InitalOperationPwd" value="zIU7s3Rawog=" /> | |||||
<add key="StartWebApiUrl" value="0" /> | |||||
</appSettings> | |||||
<startup> | |||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" /> | |||||
</startup> | |||||
<runtime> | |||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> | |||||
<dependentAssembly> | |||||
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> | |||||
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" /> | |||||
</dependentAssembly> | |||||
<dependentAssembly> | |||||
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" /> | |||||
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" /> | |||||
</dependentAssembly> | |||||
<dependentAssembly> | |||||
<assemblyIdentity name="System.Threading.Tasks.Extensions" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" /> | |||||
<bindingRedirect oldVersion="0.0.0.0-4.2.0.1" newVersion="4.2.0.1" /> | |||||
</dependentAssembly> | |||||
<dependentAssembly> | |||||
<assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" /> | |||||
<bindingRedirect oldVersion="0.0.0.0-4.0.1.2" newVersion="4.0.1.2" /> | |||||
</dependentAssembly> | |||||
<dependentAssembly> | |||||
<assemblyIdentity name="System.ValueTuple" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" /> | |||||
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" /> | |||||
</dependentAssembly> | |||||
</assemblyBinding> | |||||
</runtime> | |||||
</configuration> |
@@ -1 +1 @@ | |||||
BFEBFBFF000A0652_B025AA3FD303_00FF7AB4C9BA_8C554AD3D7A5_8E554AD3D7A4_8C554AD3D7A4_8C554AD3D7A8 | |||||
BFEBFBFF000B06A2_7413EA0CEB72_7613EA0CEB71_7413EA0CEB71 |