@@ -34,7 +34,7 @@ public static Option FrameworkOption() =>
3434 Accept . ExactlyOneArgument ( )
3535 . WithSuggestionsFrom ( _ => Suggest . TargetFrameworksFromProjectFile ( ) )
3636 . With ( name : "FRAMEWORK" )
37- . ForwardAsSingle ( o => $ "-p :TargetFramework={ o . Arguments . Single ( ) } ") ) ;
37+ . ForwardAsSingle ( o => $ "-property :TargetFramework={ o . Arguments . Single ( ) } ") ) ;
3838
3939 public static Option RuntimeOption ( ) =>
4040 Create . Option (
@@ -43,7 +43,7 @@ public static Option RuntimeOption() =>
4343 Accept . ExactlyOneArgument ( )
4444 . WithSuggestionsFrom ( _ => Suggest . RunTimesFromProjectFile ( ) )
4545 . With ( name : "RUNTIME_IDENTIFIER" )
46- . ForwardAsSingle ( o => $ "-p :RuntimeIdentifier={ o . Arguments . Single ( ) } ") ) ;
46+ . ForwardAsSingle ( o => $ "-property :RuntimeIdentifier={ o . Arguments . Single ( ) } ") ) ;
4747
4848 public static Option ConfigurationOption ( ) =>
4949 Create . Option (
@@ -52,15 +52,15 @@ public static Option ConfigurationOption() =>
5252 Accept . ExactlyOneArgument ( )
5353 . With ( name : "CONFIGURATION" )
5454 . WithSuggestionsFrom ( "DEBUG" , "RELEASE" )
55- . ForwardAsSingle ( o => $ "-p :Configuration={ o . Arguments . Single ( ) } ") ) ;
55+ . ForwardAsSingle ( o => $ "-property :Configuration={ o . Arguments . Single ( ) } ") ) ;
5656
5757 public static Option VersionSuffixOption ( ) =>
5858 Create . Option (
5959 "--version-suffix" ,
6060 CommonLocalizableStrings . CmdVersionSuffixDescription ,
6161 Accept . ExactlyOneArgument ( )
6262 . With ( name : "VERSION_SUFFIX" )
63- . ForwardAsSingle ( o => $ "-p :VersionSuffix={ o . Arguments . Single ( ) } ") ) ;
63+ . ForwardAsSingle ( o => $ "-property :VersionSuffix={ o . Arguments . Single ( ) } ") ) ;
6464
6565 public static ArgumentsRule DefaultToCurrentDirectory ( this ArgumentsRule rule ) =>
6666 rule . With ( defaultValue : ( ) => PathUtility . EnsureTrailingSlash ( Directory . GetCurrentDirectory ( ) ) ) ;
0 commit comments