diff --git a/src/Compiler/src/Compiler/XSharpBuildTask/XSharp.SDK.Props b/src/Compiler/src/Compiler/XSharpBuildTask/XSharp.SDK.Props
index f9ca37c67b..de18bdbd9b 100644
--- a/src/Compiler/src/Compiler/XSharpBuildTask/XSharp.SDK.Props
+++ b/src/Compiler/src/Compiler/XSharpBuildTask/XSharp.SDK.Props
@@ -16,30 +16,46 @@ Copyright (C) XSharp BV. All rights reserved.
**\*.xsfs;**\*.xsdbs;**\*.xsmnu;**\*.xsfrm;**\*.xsrep;**\*.xssql;**/*.vnfs;**/*.vndbs;**/*.vnmnu;**/*.vnfrm
**\App.xaml
**\*.vh;**\*.xh
+
+ $(DefaultItemExcludes);$(DefaultExcludesInProjectFolder)
+ $(XSharpDefaultItemExcludes);$(BaseOutputPath)/**
+ $(XSharpDefaultItemExcludes);$(BaseIntermediateOutputPath)/**
+ $(XSharpDefaultItemExcludes);$(OutputPath)/**
+ $(XSharpDefaultItemExcludes);$(IntermediateOutputPath)/**
+
- $(VOBinaryFiles);$(AppXamlFiles);$(HeaderFiles);**/*.rc;**/*.resx;**/*.designer.prg;**/*.xaml.prg
+
+ $(DefaultItemExcludes);$(VOBinaryFiles);$(AppXamlFiles);$(HeaderFiles);**/*.rc;**/*.resx;**/*.designer.prg;**/*.xaml.prg
-
+
MSBuild:Compile
-
+
$([System.Text.RegularExpressions.Regex]::Replace('%(Filename)%(Extension)', '\.[^.]+\%(Extension)$', '.prg'))
%(ParentName)
-
+
$([System.Text.RegularExpressions.Regex]::Replace('%(Filename)%(Extension)', '\.[^.]+\%(Extension)$', '.prg'))
%(ParentName)
-
+
$([System.Text.RegularExpressions.Regex]::Replace('%(Filename)%(Extension)', '.xaml.prg$', '.xaml', System.Text.RegularExpressions.RegexOptions.IgnoreCase))
%(ParentXamlName)
-
+
$([System.Text.RegularExpressions.Regex]::Replace('%(Filename)%(Extension)', '.designer.prg$', '.prg', System.Text.RegularExpressions.RegexOptions.IgnoreCase))
$([System.Text.RegularExpressions.Regex]::Replace('%(Filename)%(Extension)', '.designer.prg$', '.resx', System.Text.RegularExpressions.RegexOptions.IgnoreCase))
@@ -48,12 +64,12 @@ Copyright (C) XSharp BV. All rights reserved.
%(ParentResxName)
%(ParentSettingsName)
-
+
$([System.Text.RegularExpressions.Regex]::Replace('%(Filename)%(Extension)', '%(Extension)$', '.prg'))
%(ParentName)
-
+
$([System.Text.RegularExpressions.Regex]::Replace('%(Filename)%(Extension)', '%(Extension)$', '.prg'))
%(ParentName)