diff --git a/src/Calculator/Calculator.vcxproj b/src/Calculator/Calculator.vcxproj index 39400f1..b447758 100644 --- a/src/Calculator/Calculator.vcxproj +++ b/src/Calculator/Calculator.vcxproj @@ -216,7 +216,7 @@ - /DSEND_DIAGNOSTICS %(AdditionalOptions) + /DSEND_DIAGNOSTICS /DIS_STORE_BUILD %(AdditionalOptions) diff --git a/src/Calculator/Views/TitleBar.xaml.cpp b/src/Calculator/Views/TitleBar.xaml.cpp index c76f7b2..c4dcb95 100644 --- a/src/Calculator/Views/TitleBar.xaml.cpp +++ b/src/Calculator/Views/TitleBar.xaml.cpp @@ -36,11 +36,11 @@ namespace CalculatorApp Loaded += ref new RoutedEventHandler(this, &TitleBar::OnLoaded); Unloaded += ref new RoutedEventHandler(this, &TitleBar::OnUnloaded); -#ifdef IsStoreBuild +#ifdef IS_STORE_BUILD AppName->Text = AppResourceProvider::GetInstance().GetResourceString(L"AppName"); #else AppName->Text = AppResourceProvider::GetInstance().GetResourceString(L"DevAppName"); -#endif //IsStoreBuild +#endif //IS_STORE_BUILD } void TitleBar::OnLoaded(_In_ Object ^ /*sender*/, _In_ RoutedEventArgs ^ /*e*/)