Skip to content

Commit 950c44d

Browse files
committed
Specify some things in props that are needed to reduce warnings and should be default anyway for DM projects (can be removed from the Directory.Build.props file in DIS)
1 parent 3f22e8c commit 950c44d

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

Sdk/Sdk/Sdk.props

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
11
<Project>
22
<Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk" Condition=" '$(MicrosoftCommonPropsHasBeenImported)' != 'true' "/>
3+
4+
<PropertyGroup>
5+
<PlatformTarget>x86</PlatformTarget>
6+
<DisableImplicitFrameworkReferences>true</DisableImplicitFrameworkReferences>
7+
<DefineConstants>$(DefineConstants);DCFv1;DBInfo;ALARM_SQUASHING</DefineConstants>
8+
</PropertyGroup>
39
</Project>

Sdk/Tasks/DmappCreation.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ namespace Skyline.DataMiner.Sdk
2020

2121
public class DmappCreation : Task, ICancelableTask
2222
{
23-
private bool cancel = false;
23+
private bool cancel;
2424

2525
public string ProjectFile { get; set; }
2626
public string ProjectType { get; set; }

0 commit comments

Comments
 (0)