Commit 167e2eff authored by Tebjan Halm's avatar Tebjan Halm
Browse files

builds for .NET3.5 again

parent 54f84bf1
...@@ -32,7 +32,7 @@ using System.Runtime.InteropServices; ...@@ -32,7 +32,7 @@ using System.Runtime.InteropServices;
// //
// You can specify all the values or you can default the Revision and Build Numbers // You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below: // by using the '*' as shown below:
[assembly: AssemblyVersion("1.5.1.*")] [assembly: AssemblyVersion("1.5.2.*")]
//[assembly: AssemblyFileVersion("1.0.1.*")] //[assembly: AssemblyFileVersion("1.0.1.*")]
[assembly: CLSCompliant(true)] [assembly: CLSCompliant(true)]
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
<OldToolsVersion>3.5</OldToolsVersion> <OldToolsVersion>3.5</OldToolsVersion>
<UpgradeBackupLocation> <UpgradeBackupLocation>
</UpgradeBackupLocation> </UpgradeBackupLocation>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion> <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<IsWebBootstrapper>false</IsWebBootstrapper> <IsWebBootstrapper>false</IsWebBootstrapper>
<SccProjectName> <SccProjectName>
</SccProjectName> </SccProjectName>
......
...@@ -459,7 +459,7 @@ namespace Svg ...@@ -459,7 +459,7 @@ namespace Svg
var evt = attr.Event.GetValue(this); var evt = attr.Event.GetValue(this);
//if someone has registered publish the attribute //if someone has registered publish the attribute
if (evt != null && !string.IsNullOrWhiteSpace(this.ID)) if (evt != null && !string.IsNullOrEmpty(this.ID))
{ {
writer.WriteAttributeString(attr.Attribute.Name, this.ID + "/" + attr.Attribute.Name); writer.WriteAttributeString(attr.Attribute.Name, this.ID + "/" + attr.Attribute.Name);
} }
...@@ -727,7 +727,7 @@ namespace Svg ...@@ -727,7 +727,7 @@ namespace Svg
/// <param name="caller"></param> /// <param name="caller"></param>
public void RegisterEvents(ISvgEventCaller caller) public void RegisterEvents(ISvgEventCaller caller)
{ {
if (caller != null && !string.IsNullOrWhiteSpace(this.ID)) if (caller != null && !string.IsNullOrEmpty(this.ID))
{ {
var rpcID = this.ID + "/"; var rpcID = this.ID + "/";
...@@ -747,7 +747,7 @@ namespace Svg ...@@ -747,7 +747,7 @@ namespace Svg
/// <param name="caller"></param> /// <param name="caller"></param>
public void UnregisterEvents(ISvgEventCaller caller) public void UnregisterEvents(ISvgEventCaller caller)
{ {
if (caller != null && !string.IsNullOrWhiteSpace(this.ID)) if (caller != null && !string.IsNullOrEmpty(this.ID))
{ {
var rpcID = this.ID + "/"; var rpcID = this.ID + "/";
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment