Updating csproj Files

This commit is contained in:
FlorianDahn 2019-09-26 23:27:38 +02:00
parent 1d44b50883
commit f0fa953819
4 changed files with 77 additions and 20 deletions

View File

@ -32,9 +32,19 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release Net45|AnyCPU'">
<OutputPath>bin\Release Net45\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.12.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
<HintPath>..\packages\Newtonsoft.Json.12.0.2\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
@ -45,14 +55,19 @@
<Reference Include="System.Data" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Xml" />
<Reference Include="Telegram.Bot, Version=14.10.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Telegram.Bot.14.10.0\lib\net45\Telegram.Bot.dll</HintPath>
<Reference Include="Telegram.Bot, Version=14.12.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Telegram.Bot.14.12.0\lib\net45\Telegram.Bot.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Tests\ButtonTestForm.cs" />
<Compile Include="Tests\Controls\ButtonGridForm.cs" />
<Compile Include="Tests\Controls\CalendarPickerForm.cs" />
<Compile Include="Tests\Controls\MonthPickerForm.cs" />
<Compile Include="Tests\Controls\ToggleButtons.cs" />
<Compile Include="Tests\Controls\TreeViewForms.cs" />
<Compile Include="Tests\DataForm.cs" />
<Compile Include="Tests\ProgressTest.cs" />
<Compile Include="Tests\Register\PerForm.cs" />

View File

@ -25,19 +25,7 @@ namespace TelegramBotBase.Controls
public ButtonForm ButtonsForm { get; set; }
public int? MessageId
{
get
{
return m_iMessageId;
}
set
{
m_iMessageId = value;
}
}
private int? m_iMessageId = null;
public int? MessageId { get; set; }
/// <summary>
/// Defines which type of Button Keyboard should be rendered.

View File

@ -31,6 +31,16 @@
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Release\TelegramBotBase.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release Net45|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\net45\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<TargetFrameworkVersion>v4.5.1</TargetFrameworkVersion>
<DocumentationFile>bin\Release\net45\TelegramBotBase.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
</PropertyGroup>
@ -49,11 +59,14 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Base\Async.cs" />
<Compile Include="Base\ButtonClickedEventArgs.cs" />
<Compile Include="Base\ControlBase.cs" />
<Compile Include="Base\DataResult.cs" />
<Compile Include="Base\InitEventArgs.cs" />
<Compile Include="Base\MessageClient.cs" />
<Compile Include="Base\MessageIncomeResult.cs" />
<Compile Include="Base\MessageReceivedEventArgs.cs" />
<Compile Include="Base\MessageResult.cs" />
<Compile Include="Base\MessageSentEventArgs.cs" />
<Compile Include="Base\ResultBase.cs" />
@ -62,7 +75,19 @@
<Compile Include="Base\UnhandledCallEventArgs.cs" />
<Compile Include="Base\SystemCallEventArgs.cs" />
<Compile Include="BotBase.cs" />
<Compile Include="Constants\Telegram.cs" />
<Compile Include="Controls\ButtonGrid.cs" />
<Compile Include="Controls\CalendarPicker.cs" />
<Compile Include="Controls\MonthPicker.cs" />
<Compile Include="Controls\ProgressBar.cs" />
<Compile Include="Controls\ToggleButton.cs" />
<Compile Include="Controls\TreeView.cs" />
<Compile Include="Controls\TreeViewNode.cs" />
<Compile Include="Enums\eDeleteMode.cs" />
<Compile Include="Enums\eDeleteSide.cs" />
<Compile Include="Enums\eKeyboardType.cs" />
<Compile Include="Enums\eMonthPickerMode.cs" />
<Compile Include="Exceptions\MaxLengthException.cs" />
<Compile Include="Form\AlertDialog.cs" />
<Compile Include="Form\ArrayPromptDialog.cs" />
<Compile Include="Form\AutoCleanForm.cs" />
@ -71,20 +96,23 @@
<Compile Include="Base\FormBase.cs" />
<Compile Include="Form\CallbackData.cs" />
<Compile Include="Form\PromptDialog.cs" />
<Compile Include="Markdown\Generator.cs" />
<Compile Include="SessionBase.cs" />
<Compile Include="Sessions\DeviceSession.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Tools\Arrays.cs" />
<Compile Include="Tools\Time.cs" />
<Compile Include="Tools\Images.cs" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Newtonsoft.Json">
<Version>11.0.2</Version>
<Version>12.0.2</Version>
</PackageReference>
<PackageReference Include="System.Net.Requests">
<Version>4.3.0</Version>
</PackageReference>
<PackageReference Include="Telegram.Bot">
<Version>14.10.0</Version>
<Version>15.0.0</Version>
</PackageReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />

View File

@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.28307.168
# Visual Studio Version 16
VisualStudioVersion = 16.0.29025.244
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TelegramBaseTest", "TelegramBaseTest\TelegramBaseTest.csproj", "{5817184C-0D59-4924-AC6C-6B943967811C}"
EndProject
@ -12,6 +12,29 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
README.md = README.md
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "images", "images", "{AF4C8238-A0F0-41AC-8C0A-33E143AEBFCD}"
ProjectSection(SolutionItems) = preProject
images\alertdialog.PNG = images\alertdialog.PNG
images\calendarpicker.gif = images\calendarpicker.gif
images\calendarpicker.PNG = images\calendarpicker.PNG
images\example1.PNG = images\example1.PNG
images\example2.PNG = images\example2.PNG
images\example3.PNG = images\example3.PNG
images\example4.1.PNG = images\example4.1.PNG
images\example4.2.PNG = images\example4.2.PNG
images\example4.3.PNG = images\example4.3.PNG
images\example4.4.PNG = images\example4.4.PNG
images\monthpicker1.PNG = images\monthpicker1.PNG
images\monthpicker2.PNG = images\monthpicker2.PNG
images\progressbar.PNG = images\progressbar.PNG
images\promptdialog.PNG = images\promptdialog.PNG
images\togglebutton.gif = images\togglebutton.gif
images\treeview1.PNG = images\treeview1.PNG
images\treeview2.PNG = images\treeview2.PNG
images\treeview3.PNG = images\treeview3.PNG
images\treeview4.PNG = images\treeview4.PNG
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@ -30,6 +53,9 @@ Global
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{AF4C8238-A0F0-41AC-8C0A-33E143AEBFCD} = {E9AE1280-C1F3-4960-9D3D-D4F25142E838}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {4245F162-E263-45E0-A16A-ED5F411A4AFC}
EndGlobalSection