Skip to content

Commit 2332a35

Browse files
Fix Directory.Build.targets when using SentryNoMobile.slnf (#4313)
#skip-changelog
1 parent e7240a4 commit 2332a35

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

samples/Directory.Build.targets

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
<Target Name="GenerateSharedDsnConstant"
1212
BeforeTargets="BeforeCompile"
13-
Condition=" '$(SENTRY_DSN)' != '' and '$(PlatformIsMobile)' == 'true'">
13+
Condition="'$(SENTRY_DSN)' != ''">
1414

1515
<Message Text="Generating shared EnvironmentVariables.g.cs with embedded DSN..." Importance="High" />
1616

@@ -25,7 +25,7 @@ namespace Sentry.Samples%3B
2525
internal static class EnvironmentVariables
2626
{
2727
/// &lt;summary&gt;
28-
/// To make things easier for the SDK maintainers we have a custom build target that writes the
28+
/// To make things easier for the SDK maintainers, we have a custom build target that writes the
2929
/// SENTRY_DSN environment variable into an EnvironmentVariables class that is available for mobile
3030
/// targets. This allows us to share one DSN defined in the ENV across desktop and mobile samples.
3131
/// Generally, you won't want to do this in your own mobile projects though - you should set the DSN

0 commit comments

Comments
 (0)