linq2db.LINQPad/Source/linq2db.LINQPad.csproj

153 строки
6.1 KiB
XML
Исходник Обычный вид История

work on linqpad6 support (#32) * work on linqpad6 support * fix appveyor * remove unneeded dll's * fix assembly loading in linqpad, missing minor * switch to linq2db version 3 * work on linq2db 3.0 support * C# 8 NRT migration, enable access oledb/odbc + firebird drivers (more coming soon) * remove debug code * enable mysql, migrate to mysqlconnector, workaround inconsistencies in default schema name for procedures and tables * add npgsql, fix linqpad6 support * sybase ASE support * oracle support * SQL CE support * DB2 LUW support * sap hana support * informix support * sqlite support * sql server support with spatial types * Fix issues, found during access odbc provider testing: - remove empty tables from tree (e.g. protected access tables) - escape xml-unfriendly characters in strings and char values - fix access ODBC procedure call * - fix references for v6 - fix <i> styles for v6 - improve \uxxxx formatting * - fix custom formatters - fix DB2 types support * - Firebird, Informix, mysql/mariadb testing - nullability workaround for provider-specific value types * - sqlce fixes - postgresql types support * sql server fixes * fix oracle, remove native provider as it currently broken and not really needed * - add provider path configuration for sqlce/saphana for linqpad6 - moved context element names to constants - fixed conditional T4 generation for NotifyPropertyChanged (need to be ported to linq2db) - fixed ui in connection dialog - changed copyrights to "Linq To DB" * forgot to add files to previous commit... * update readme * - add release notes - pipelines and nuget files (untested yet) * fix value formatter * address code review * add note about sql server 2000 support * generate nuget on all branches * cleanup/build fixes * fix nuget pack command * fix artifact publishing * mkay, file mask not supported * fix nuspec * fix connection images location * disable nuget generation on non-master/release branches * remove var Co-authored-by: MaceWindu <MaceWindu@users.noreply.github.com>
2020-07-28 11:15:59 +03:00
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<PropertyGroup>
2023-04-22 16:18:34 +03:00
<TargetFrameworks>net48;net6.0-windows</TargetFrameworks>
<RootNamespace>LinqToDB.LINQPad</RootNamespace>
<Company>linq2db</Company>
<Product>linq2db.LINQPad</Product>
<AssemblyTitle>$(Product)</AssemblyTitle>
2024-09-01 16:55:34 +03:00
<Version>5.4.1.0</Version>
<AssemblyVersion>$(Version)</AssemblyVersion>
<FileVersion>$(Version)</FileVersion>
2024-03-09 14:29:06 +03:00
<Copyright>Copyright © 2016-2024 Linq To DB Team</Copyright>
work on linqpad6 support (#32) * work on linqpad6 support * fix appveyor * remove unneeded dll's * fix assembly loading in linqpad, missing minor * switch to linq2db version 3 * work on linq2db 3.0 support * C# 8 NRT migration, enable access oledb/odbc + firebird drivers (more coming soon) * remove debug code * enable mysql, migrate to mysqlconnector, workaround inconsistencies in default schema name for procedures and tables * add npgsql, fix linqpad6 support * sybase ASE support * oracle support * SQL CE support * DB2 LUW support * sap hana support * informix support * sqlite support * sql server support with spatial types * Fix issues, found during access odbc provider testing: - remove empty tables from tree (e.g. protected access tables) - escape xml-unfriendly characters in strings and char values - fix access ODBC procedure call * - fix references for v6 - fix <i> styles for v6 - improve \uxxxx formatting * - fix custom formatters - fix DB2 types support * - Firebird, Informix, mysql/mariadb testing - nullability workaround for provider-specific value types * - sqlce fixes - postgresql types support * sql server fixes * fix oracle, remove native provider as it currently broken and not really needed * - add provider path configuration for sqlce/saphana for linqpad6 - moved context element names to constants - fixed conditional T4 generation for NotifyPropertyChanged (need to be ported to linq2db) - fixed ui in connection dialog - changed copyrights to "Linq To DB" * forgot to add files to previous commit... * update readme * - add release notes - pipelines and nuget files (untested yet) * fix value formatter * address code review * add note about sql server 2000 support * generate nuget on all branches * cleanup/build fixes * fix nuget pack command * fix artifact publishing * mkay, file mask not supported * fix nuspec * fix connection images location * disable nuget generation on non-master/release branches * remove var Co-authored-by: MaceWindu <MaceWindu@users.noreply.github.com>
2020-07-28 11:15:59 +03:00
<UseWPF>true</UseWPF>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
2023-04-22 16:18:34 +03:00
<LangVersion>preview</LangVersion>
work on linqpad6 support (#32) * work on linqpad6 support * fix appveyor * remove unneeded dll's * fix assembly loading in linqpad, missing minor * switch to linq2db version 3 * work on linq2db 3.0 support * C# 8 NRT migration, enable access oledb/odbc + firebird drivers (more coming soon) * remove debug code * enable mysql, migrate to mysqlconnector, workaround inconsistencies in default schema name for procedures and tables * add npgsql, fix linqpad6 support * sybase ASE support * oracle support * SQL CE support * DB2 LUW support * sap hana support * informix support * sqlite support * sql server support with spatial types * Fix issues, found during access odbc provider testing: - remove empty tables from tree (e.g. protected access tables) - escape xml-unfriendly characters in strings and char values - fix access ODBC procedure call * - fix references for v6 - fix <i> styles for v6 - improve \uxxxx formatting * - fix custom formatters - fix DB2 types support * - Firebird, Informix, mysql/mariadb testing - nullability workaround for provider-specific value types * - sqlce fixes - postgresql types support * sql server fixes * fix oracle, remove native provider as it currently broken and not really needed * - add provider path configuration for sqlce/saphana for linqpad6 - moved context element names to constants - fixed conditional T4 generation for NotifyPropertyChanged (need to be ported to linq2db) - fixed ui in connection dialog - changed copyrights to "Linq To DB" * forgot to add files to previous commit... * update readme * - add release notes - pipelines and nuget files (untested yet) * fix value formatter * address code review * add note about sql server 2000 support * generate nuget on all branches * cleanup/build fixes * fix nuget pack command * fix artifact publishing * mkay, file mask not supported * fix nuspec * fix connection images location * disable nuget generation on non-master/release branches * remove var Co-authored-by: MaceWindu <MaceWindu@users.noreply.github.com>
2020-07-28 11:15:59 +03:00
<Nullable>enable</Nullable>
2021-11-21 19:32:06 +03:00
<!--https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-options/errors-warnings#warninglevel-->
<WarningLevel>9999</WarningLevel>
work on linqpad6 support (#32) * work on linqpad6 support * fix appveyor * remove unneeded dll's * fix assembly loading in linqpad, missing minor * switch to linq2db version 3 * work on linq2db 3.0 support * C# 8 NRT migration, enable access oledb/odbc + firebird drivers (more coming soon) * remove debug code * enable mysql, migrate to mysqlconnector, workaround inconsistencies in default schema name for procedures and tables * add npgsql, fix linqpad6 support * sybase ASE support * oracle support * SQL CE support * DB2 LUW support * sap hana support * informix support * sqlite support * sql server support with spatial types * Fix issues, found during access odbc provider testing: - remove empty tables from tree (e.g. protected access tables) - escape xml-unfriendly characters in strings and char values - fix access ODBC procedure call * - fix references for v6 - fix <i> styles for v6 - improve \uxxxx formatting * - fix custom formatters - fix DB2 types support * - Firebird, Informix, mysql/mariadb testing - nullability workaround for provider-specific value types * - sqlce fixes - postgresql types support * sql server fixes * fix oracle, remove native provider as it currently broken and not really needed * - add provider path configuration for sqlce/saphana for linqpad6 - moved context element names to constants - fixed conditional T4 generation for NotifyPropertyChanged (need to be ported to linq2db) - fixed ui in connection dialog - changed copyrights to "Linq To DB" * forgot to add files to previous commit... * update readme * - add release notes - pipelines and nuget files (untested yet) * fix value formatter * address code review * add note about sql server 2000 support * generate nuget on all branches * cleanup/build fixes * fix nuget pack command * fix artifact publishing * mkay, file mask not supported * fix nuspec * fix connection images location * disable nuget generation on non-master/release branches * remove var Co-authored-by: MaceWindu <MaceWindu@users.noreply.github.com>
2020-07-28 11:15:59 +03:00
<ErrorReport>prompt</ErrorReport>
2021-11-21 19:32:06 +03:00
<Features>strict</Features>
2023-04-22 16:18:34 +03:00
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<ImplicitUsings>enable</ImplicitUsings>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
2023-04-22 16:18:34 +03:00
<!--required for SkipLocalsInit-->
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<MSBuildWarningsAsMessages>MSB3270</MSBuildWarningsAsMessages>
</PropertyGroup>
<PropertyGroup>
2023-04-22 16:18:34 +03:00
<RunAnalyzersDuringBuild>true</RunAnalyzersDuringBuild>
<RunAnalyzersDuringLiveAnalysis>true</RunAnalyzersDuringLiveAnalysis>
<AnalysisLevel>preview-All</AnalysisLevel>
<!--enable IDExxxx analyzers during build-->
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<ReportAnalyzer>false</ReportAnalyzer>
<!--workaround for https://github.com/dotnet/roslyn/issues/41640, but also required for xml-doc validation -->
<GenerateDocumentationFile>true</GenerateDocumentationFile>
work on linqpad6 support (#32) * work on linqpad6 support * fix appveyor * remove unneeded dll's * fix assembly loading in linqpad, missing minor * switch to linq2db version 3 * work on linq2db 3.0 support * C# 8 NRT migration, enable access oledb/odbc + firebird drivers (more coming soon) * remove debug code * enable mysql, migrate to mysqlconnector, workaround inconsistencies in default schema name for procedures and tables * add npgsql, fix linqpad6 support * sybase ASE support * oracle support * SQL CE support * DB2 LUW support * sap hana support * informix support * sqlite support * sql server support with spatial types * Fix issues, found during access odbc provider testing: - remove empty tables from tree (e.g. protected access tables) - escape xml-unfriendly characters in strings and char values - fix access ODBC procedure call * - fix references for v6 - fix <i> styles for v6 - improve \uxxxx formatting * - fix custom formatters - fix DB2 types support * - Firebird, Informix, mysql/mariadb testing - nullability workaround for provider-specific value types * - sqlce fixes - postgresql types support * sql server fixes * fix oracle, remove native provider as it currently broken and not really needed * - add provider path configuration for sqlce/saphana for linqpad6 - moved context element names to constants - fixed conditional T4 generation for NotifyPropertyChanged (need to be ported to linq2db) - fixed ui in connection dialog - changed copyrights to "Linq To DB" * forgot to add files to previous commit... * update readme * - add release notes - pipelines and nuget files (untested yet) * fix value formatter * address code review * add note about sql server 2000 support * generate nuget on all branches * cleanup/build fixes * fix nuget pack command * fix artifact publishing * mkay, file mask not supported * fix nuspec * fix connection images location * disable nuget generation on non-master/release branches * remove var Co-authored-by: MaceWindu <MaceWindu@users.noreply.github.com>
2020-07-28 11:15:59 +03:00
</PropertyGroup>
2021-11-21 19:32:06 +03:00
<PropertyGroup Label="NETFX DLL HELL workaround" Condition=" '$(TargetFramework)' == 'net48' ">
<MSBuildWarningsAsMessages>$(MSBuildWarningsAsMessages);MSB3277</MSBuildWarningsAsMessages>
</PropertyGroup>
<ItemGroup>
2023-04-22 16:18:34 +03:00
<Using Include="System.Reflection" />
2023-04-22 16:18:34 +03:00
<PackageReference Include="linq2db" />
<PackageReference Include="linq2db.Tools" />
<PackageReference Include="LINQPad.Reference" />
<PackageReference Include="PolySharp" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" />
<PackageReference Include="FirebirdSql.Data.FirebirdClient" />
<PackageReference Include="MySqlConnector" />
<PackageReference Include="AdoNetCore.AseClient" />
2021-11-21 19:32:06 +03:00
<PackageReference Include="System.Data.SQLite.Core" />
2023-04-22 16:18:34 +03:00
<PackageReference Include="Microsoft.Data.SqlClient" />
<PackageReference Include="Npgsql" />
2023-04-22 16:18:34 +03:00
<PackageReference Include="ClickHouse.Client" />
<!--<PackageReference Include="linq2db4iSeries" />-->
<PackageReference Include="Microsoft.SqlServer.Types" />
<PackageReference Include="Microsoft.CodeAnalysis.BannedApiAnalyzers" />
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" />
<PackageReference Include="Meziantou.Analyzer" />
<AdditionalFiles Include="$(MSBuildThisFileDirectory)\BannedSymbols.txt" />
</ItemGroup>
2023-04-22 16:18:34 +03:00
<ItemGroup Condition=" '$(TargetFramework)' == 'net48'">
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Configuration" />
work on linqpad6 support (#32) * work on linqpad6 support * fix appveyor * remove unneeded dll's * fix assembly loading in linqpad, missing minor * switch to linq2db version 3 * work on linq2db 3.0 support * C# 8 NRT migration, enable access oledb/odbc + firebird drivers (more coming soon) * remove debug code * enable mysql, migrate to mysqlconnector, workaround inconsistencies in default schema name for procedures and tables * add npgsql, fix linqpad6 support * sybase ASE support * oracle support * SQL CE support * DB2 LUW support * sap hana support * informix support * sqlite support * sql server support with spatial types * Fix issues, found during access odbc provider testing: - remove empty tables from tree (e.g. protected access tables) - escape xml-unfriendly characters in strings and char values - fix access ODBC procedure call * - fix references for v6 - fix <i> styles for v6 - improve \uxxxx formatting * - fix custom formatters - fix DB2 types support * - Firebird, Informix, mysql/mariadb testing - nullability workaround for provider-specific value types * - sqlce fixes - postgresql types support * sql server fixes * fix oracle, remove native provider as it currently broken and not really needed * - add provider path configuration for sqlce/saphana for linqpad6 - moved context element names to constants - fixed conditional T4 generation for NotifyPropertyChanged (need to be ported to linq2db) - fixed ui in connection dialog - changed copyrights to "Linq To DB" * forgot to add files to previous commit... * update readme * - add release notes - pipelines and nuget files (untested yet) * fix value formatter * address code review * add note about sql server 2000 support * generate nuget on all branches * cleanup/build fixes * fix nuget pack command * fix artifact publishing * mkay, file mask not supported * fix nuspec * fix connection images location * disable nuget generation on non-master/release branches * remove var Co-authored-by: MaceWindu <MaceWindu@users.noreply.github.com>
2020-07-28 11:15:59 +03:00
<PackageReference Include="System.ValueTuple" />
<PackageReference Include="System.Threading.Tasks.Extensions" />
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" />
<PackageReference Include="System.Memory" />
<PackageReference Include="System.Buffers" />
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" NoWarn="NU1605" />
2024-09-01 16:55:34 +03:00
<PackageReference Include="System.Text.Json" NoWarn="NU1605;NU1903" />
<PackageReference Include="Oracle.ManagedDataAccess" />
2021-11-21 19:32:06 +03:00
<PackageReference Include="IBM.Data.DB.Provider" GeneratePathProperty="true" />
2023-04-22 16:18:34 +03:00
2021-11-21 19:32:06 +03:00
<Reference Include="IBM.Data.DB2">
<HintPath>$(PkgIBM_Data_DB_Provider)\build\net451\x86\IBM.Data.DB2.dll</HintPath>
</Reference>
work on linqpad6 support (#32) * work on linqpad6 support * fix appveyor * remove unneeded dll's * fix assembly loading in linqpad, missing minor * switch to linq2db version 3 * work on linq2db 3.0 support * C# 8 NRT migration, enable access oledb/odbc + firebird drivers (more coming soon) * remove debug code * enable mysql, migrate to mysqlconnector, workaround inconsistencies in default schema name for procedures and tables * add npgsql, fix linqpad6 support * sybase ASE support * oracle support * SQL CE support * DB2 LUW support * sap hana support * informix support * sqlite support * sql server support with spatial types * Fix issues, found during access odbc provider testing: - remove empty tables from tree (e.g. protected access tables) - escape xml-unfriendly characters in strings and char values - fix access ODBC procedure call * - fix references for v6 - fix <i> styles for v6 - improve \uxxxx formatting * - fix custom formatters - fix DB2 types support * - Firebird, Informix, mysql/mariadb testing - nullability workaround for provider-specific value types * - sqlce fixes - postgresql types support * sql server fixes * fix oracle, remove native provider as it currently broken and not really needed * - add provider path configuration for sqlce/saphana for linqpad6 - moved context element names to constants - fixed conditional T4 generation for NotifyPropertyChanged (need to be ported to linq2db) - fixed ui in connection dialog - changed copyrights to "Linq To DB" * forgot to add files to previous commit... * update readme * - add release notes - pipelines and nuget files (untested yet) * fix value formatter * address code review * add note about sql server 2000 support * generate nuget on all branches * cleanup/build fixes * fix nuget pack command * fix artifact publishing * mkay, file mask not supported * fix nuspec * fix connection images location * disable nuget generation on non-master/release branches * remove var Co-authored-by: MaceWindu <MaceWindu@users.noreply.github.com>
2020-07-28 11:15:59 +03:00
</ItemGroup>
2023-04-22 16:18:34 +03:00
<ItemGroup Condition=" '$(TargetFramework)' != 'net48' ">
<PackageReference Include="System.Configuration.ConfigurationManager" />
<PackageReference Include="System.Data.Odbc" />
<PackageReference Include="System.Data.OleDb" />
<PackageReference Include="Oracle.ManagedDataAccess.Core" />
2023-04-22 16:18:34 +03:00
<PackageReference Include="Net.IBM.Data.Db2" />
<PackageReference Include="Octonica.ClickHouseClient" />
</ItemGroup>
<ItemGroup>
2023-04-22 16:18:34 +03:00
<Page Update="UI\Settings\DynamicConnectionTab.xaml">
<XamlRuntime>$(DefaultXamlRuntime)</XamlRuntime>
<SubType>Designer</SubType>
</Page>
<Page Update="UI\Settings\LinqToDBTab.xaml">
<XamlRuntime>$(DefaultXamlRuntime)</XamlRuntime>
<SubType>Designer</SubType>
</Page>
<Page Update="UI\Settings\SchemaTab.xaml">
<XamlRuntime>$(DefaultXamlRuntime)</XamlRuntime>
<SubType>Designer</SubType>
</Page>
<Page Update="UI\Settings\ScaffoldTab.xaml">
<XamlRuntime>$(DefaultXamlRuntime)</XamlRuntime>
<SubType>Designer</SubType>
</Page>
<Page Update="UI\Settings\UniqueStringListControl.xaml">
<XamlRuntime>$(DefaultXamlRuntime)</XamlRuntime>
<SubType>Designer</SubType>
</Page>
<Page Update="UI\Settings\SharedConnectionOptions.xaml">
<XamlRuntime>$(DefaultXamlRuntime)</XamlRuntime>
<SubType>Designer</SubType>
</Page>
<Page Update="UI\Settings\StaticConnectionTab.xaml">
<XamlRuntime>$(DefaultXamlRuntime)</XamlRuntime>
<SubType>Designer</SubType>
</Page>
<Page Update="UI\Settings\AboutTab.xaml">
<XamlRuntime>$(DefaultXamlRuntime)</XamlRuntime>
<SubType>Designer</SubType>
</Page>
<Page Update="UI\Settings\SettingsDialog.xaml">
<XamlRuntime>$(DefaultXamlRuntime)</XamlRuntime>
</Page>
</ItemGroup>
2023-04-22 16:18:34 +03:00
<Target Name="PostBuild1" AfterTargets="PostBuildEvent" Condition="'$(TargetFramework)' != 'net48'">
<Exec Command="$(ProjectDir)..\Build\Pack.cmd $(TargetDir) lpx6" />
work on linqpad6 support (#32) * work on linqpad6 support * fix appveyor * remove unneeded dll's * fix assembly loading in linqpad, missing minor * switch to linq2db version 3 * work on linq2db 3.0 support * C# 8 NRT migration, enable access oledb/odbc + firebird drivers (more coming soon) * remove debug code * enable mysql, migrate to mysqlconnector, workaround inconsistencies in default schema name for procedures and tables * add npgsql, fix linqpad6 support * sybase ASE support * oracle support * SQL CE support * DB2 LUW support * sap hana support * informix support * sqlite support * sql server support with spatial types * Fix issues, found during access odbc provider testing: - remove empty tables from tree (e.g. protected access tables) - escape xml-unfriendly characters in strings and char values - fix access ODBC procedure call * - fix references for v6 - fix <i> styles for v6 - improve \uxxxx formatting * - fix custom formatters - fix DB2 types support * - Firebird, Informix, mysql/mariadb testing - nullability workaround for provider-specific value types * - sqlce fixes - postgresql types support * sql server fixes * fix oracle, remove native provider as it currently broken and not really needed * - add provider path configuration for sqlce/saphana for linqpad6 - moved context element names to constants - fixed conditional T4 generation for NotifyPropertyChanged (need to be ported to linq2db) - fixed ui in connection dialog - changed copyrights to "Linq To DB" * forgot to add files to previous commit... * update readme * - add release notes - pipelines and nuget files (untested yet) * fix value formatter * address code review * add note about sql server 2000 support * generate nuget on all branches * cleanup/build fixes * fix nuget pack command * fix artifact publishing * mkay, file mask not supported * fix nuspec * fix connection images location * disable nuget generation on non-master/release branches * remove var Co-authored-by: MaceWindu <MaceWindu@users.noreply.github.com>
2020-07-28 11:15:59 +03:00
</Target>
2023-04-22 16:18:34 +03:00
<Target Name="PostBuild2" AfterTargets="CopySQLiteInteropFiles" Condition="'$(TargetFramework)' == 'net48'">
<Exec Command="$(ProjectDir)..\Build\Pack.cmd $(TargetDir) lpx" />
</Target>
2023-04-22 16:18:34 +03:00
<ItemGroup>
2024-03-09 14:29:06 +03:00
<Resource Include="..\Build\icon.png" Link="Resources\Logo.png" />
2023-04-22 16:18:34 +03:00
</ItemGroup>
2021-11-21 19:32:06 +03:00
</Project>