Stack<T> Conflict #340

Closed
rjamesnw opened this Issue Feb 19, 2013 · 20 comments

Comments

Projects
None yet
3 participants
@rjamesnw

This is a new ScriptSharp project created via "Add New Project" in VS. The Stack apparently is in conflict between the two assemblies. I need System for Regex.

Error 175 The type 'System.Collections.Generic.Stack' exists in both 'C:\Data\Visual Studio\Projects\MyProject\packages\ScriptSharp.0.7.5.1\tools\mscorlib.dll' and 'C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0\System.dll' C:\Data\Visual Studio\Projects\Common Libraries\Common\Utilities\Utilities.cs 846 6 Common.JS

@theoutlander

This comment has been minimized.

Show comment
Hide comment
@theoutlander

theoutlander Feb 20, 2013

Contributor

The problem is that you're referencing a .NET assembly. You need to remove the reference to System.dll. It could have been automatically added by Resharper (if you're using it) or if you added a reference to it manually or if you tried to add a non-s# class file.

Either way, just remove the reference to system.dll in the project references.

For Regex, you simply need the using System statement which is part of mscorlib (in 0.8) ... don't recall if it's a different library in 0.7.5, but it should be included by default.

Contributor

theoutlander commented Feb 20, 2013

The problem is that you're referencing a .NET assembly. You need to remove the reference to System.dll. It could have been automatically added by Resharper (if you're using it) or if you added a reference to it manually or if you tried to add a non-s# class file.

Either way, just remove the reference to system.dll in the project references.

For Regex, you simply need the using System statement which is part of mscorlib (in 0.8) ... don't recall if it's a different library in 0.7.5, but it should be included by default.

@rjamesnw

This comment has been minimized.

Show comment
Hide comment
@rjamesnw

rjamesnw Feb 20, 2013

Ok, thanks. Is there official documentation anywhere?

-jw
(sent via iPhone)

On 2013-02-19, at 7:14 PM, The Outlander notifications@github.com wrote:

The problem is that you're referencing a .NET assembly. You need to remove the reference to System.dll. It could have been automatically added by Resharper (if you're using it) or if you added a reference to it manually or if you tried to add a non-s# class file.

Either way, just remove the reference to system.dll in the project references.

For Regex, you simply need the using System statement which is part of mscorlib (in 0.8) ... don't recall if it's a different library in 0.7.5, but it should be included by default.


Reply to this email directly or view it on GitHub.

Ok, thanks. Is there official documentation anywhere?

-jw
(sent via iPhone)

On 2013-02-19, at 7:14 PM, The Outlander notifications@github.com wrote:

The problem is that you're referencing a .NET assembly. You need to remove the reference to System.dll. It could have been automatically added by Resharper (if you're using it) or if you added a reference to it manually or if you tried to add a non-s# class file.

Either way, just remove the reference to system.dll in the project references.

For Regex, you simply need the using System statement which is part of mscorlib (in 0.8) ... don't recall if it's a different library in 0.7.5, but it should be included by default.


Reply to this email directly or view it on GitHub.

@theoutlander

This comment has been minimized.

Show comment
Hide comment
@theoutlander

theoutlander Feb 20, 2013

Contributor

Documentation is being worked on. Let me know if you have any suggestions/requests and I can try to work on something. In the meanwhile, I'm happy to help you get started.

You can check out the samples folder here. For high-level details on what each one addresses, look at the sample section in Repository Notes.

Note that this is referencing the CC branch (which is 0.8 RC). You can find something similar on master branch (0.7.5), but 0.8 is way better IMO.

Contributor

theoutlander commented Feb 20, 2013

Documentation is being worked on. Let me know if you have any suggestions/requests and I can try to work on something. In the meanwhile, I'm happy to help you get started.

You can check out the samples folder here. For high-level details on what each one addresses, look at the sample section in Repository Notes.

Note that this is referencing the CC branch (which is 0.8 RC). You can find something similar on master branch (0.7.5), but 0.8 is way better IMO.

@rjamesnw

This comment has been minimized.

Show comment
Hide comment
@rjamesnw

rjamesnw Feb 20, 2013

Ok, thanks. I'm working on a Twitter Bootstrap library for use in a site I'm building, and thought I'd try building it with script# (so far so good). I noticed the bin also contains a DLL of my project I was able to reference in another .net 4.0 project - this is pretty cool, do I've also created a second script# library to help share common validation logic - among other utilities - between client and server. :)

-jw
(sent via iPhone)

On 2013-02-19, at 9:04 PM, The Outlander notifications@github.com wrote:

Documentation is being worked on. Let me know if you have any suggestions/requests and I can try to work on something. In the meanwhile, I'm happy to help you get started.

You can check out the samples folder here. For high-level details on what each one addresses, look at the sample section in Repository Notes.

Note that this is referencing the CC branch (which is 0.8 RC). You can find something similar on master branch (0.7.5), but 0.8 is way better IMO.


Reply to this email directly or view it on GitHub.

Ok, thanks. I'm working on a Twitter Bootstrap library for use in a site I'm building, and thought I'd try building it with script# (so far so good). I noticed the bin also contains a DLL of my project I was able to reference in another .net 4.0 project - this is pretty cool, do I've also created a second script# library to help share common validation logic - among other utilities - between client and server. :)

-jw
(sent via iPhone)

On 2013-02-19, at 9:04 PM, The Outlander notifications@github.com wrote:

Documentation is being worked on. Let me know if you have any suggestions/requests and I can try to work on something. In the meanwhile, I'm happy to help you get started.

You can check out the samples folder here. For high-level details on what each one addresses, look at the sample section in Repository Notes.

Note that this is referencing the CC branch (which is 0.8 RC). You can find something similar on master branch (0.7.5), but 0.8 is way better IMO.


Reply to this email directly or view it on GitHub.

@theoutlander

This comment has been minimized.

Show comment
Hide comment
@theoutlander

theoutlander Feb 20, 2013

Contributor

I don't think you can use the dll in another project if it references S# libraries. How is it working for you?

Contributor

theoutlander commented Feb 20, 2013

I don't think you can use the dll in another project if it references S# libraries. How is it working for you?

@rjamesnw

This comment has been minimized.

Show comment
Hide comment
@rjamesnw

rjamesnw Feb 20, 2013

For doc suggestions, all is needed is a mapping table of JavaScript objects, functions, and properties on one side, and the .net objects with strong type details on the right. Some other small details might be nice - for example, does the parse methods throw exceptions, or return NaN, but how can parseInt return NaN when it returns an int!? ;) I think once the basic mapping is made, there's enough JavaScript docs to learn the rest - you shouldn't need to write another JS doc. :)

-jw
(sent via iPhone)

On 2013-02-19, at 9:04 PM, The Outlander notifications@github.com wrote:

Documentation is being worked on. Let me know if you have any suggestions/requests and I can try to work on something. In the meanwhile, I'm happy to help you get started.

You can check out the samples folder here. For high-level details on what each one addresses, look at the sample section in Repository Notes.

Note that this is referencing the CC branch (which is 0.8 RC). You can find something similar on master branch (0.7.5), but 0.8 is way better IMO.


Reply to this email directly or view it on GitHub.

For doc suggestions, all is needed is a mapping table of JavaScript objects, functions, and properties on one side, and the .net objects with strong type details on the right. Some other small details might be nice - for example, does the parse methods throw exceptions, or return NaN, but how can parseInt return NaN when it returns an int!? ;) I think once the basic mapping is made, there's enough JavaScript docs to learn the rest - you shouldn't need to write another JS doc. :)

-jw
(sent via iPhone)

On 2013-02-19, at 9:04 PM, The Outlander notifications@github.com wrote:

Documentation is being worked on. Let me know if you have any suggestions/requests and I can try to work on something. In the meanwhile, I'm happy to help you get started.

You can check out the samples folder here. For high-level details on what each one addresses, look at the sample section in Repository Notes.

Note that this is referencing the CC branch (which is 0.8 RC). You can find something similar on master branch (0.7.5), but 0.8 is way better IMO.


Reply to this email directly or view it on GitHub.

@rjamesnw

This comment has been minimized.

Show comment
Hide comment
@rjamesnw

rjamesnw Feb 20, 2013

... Speaking of which, once I get a handle on it all, I may create some docs myself eventually, and post it later.

-jw
(sent via iPhone)

On 2013-02-19, at 9:04 PM, The Outlander notifications@github.com wrote:

Documentation is being worked on. Let me know if you have any suggestions/requests and I can try to work on something. In the meanwhile, I'm happy to help you get started.

You can check out the samples folder here. For high-level details on what each one addresses, look at the sample section in Repository Notes.

Note that this is referencing the CC branch (which is 0.8 RC). You can find something similar on master branch (0.7.5), but 0.8 is way better IMO.


Reply to this email directly or view it on GitHub.

... Speaking of which, once I get a handle on it all, I may create some docs myself eventually, and post it later.

-jw
(sent via iPhone)

On 2013-02-19, at 9:04 PM, The Outlander notifications@github.com wrote:

Documentation is being worked on. Let me know if you have any suggestions/requests and I can try to work on something. In the meanwhile, I'm happy to help you get started.

You can check out the samples folder here. For high-level details on what each one addresses, look at the sample section in Repository Notes.

Note that this is referencing the CC branch (which is 0.8 RC). You can find something similar on master branch (0.7.5), but 0.8 is way better IMO.


Reply to this email directly or view it on GitHub.

@rjamesnw

This comment has been minimized.

Show comment
Hide comment
@rjamesnw

rjamesnw Feb 20, 2013

Well, I was able to reference it fine, just haven't compiled and ran it yet. :) I was able to explore the objects in it.

-jw
(sent via iPhone)

On 2013-02-19, at 9:53 PM, The Outlander notifications@github.com wrote:

I don't think you can use the dll in another project if it references S# libraries. How is it working for you?


Reply to this email directly or view it on GitHub.

Well, I was able to reference it fine, just haven't compiled and ran it yet. :) I was able to explore the objects in it.

-jw
(sent via iPhone)

On 2013-02-19, at 9:53 PM, The Outlander notifications@github.com wrote:

I don't think you can use the dll in another project if it references S# libraries. How is it working for you?


Reply to this email directly or view it on GitHub.

@rjamesnw

This comment has been minimized.

Show comment
Hide comment
@rjamesnw

rjamesnw Feb 20, 2013

I thought so as well, and I tried to remove it, but then I get this error:

Error 1 The type or namespace name 'Text' does not exist in the namespace 'System' (are you missing an assembly reference?)

… on this line: using System.Text.RegularExpressions;

If I remove that line, and just keep the System reference, the system can no longer resolve “Regex”. I downloaded the latest version for MVC – is there a different DLL for Regex?

From: The Outlander [mailto:notifications@github.com]
Sent: February-19-13 7:14 PM
To: nikhilk/scriptsharp
Cc: rjamesnw
Subject: Re: [scriptsharp] Stack Conflict (#340)

The problem is that you're referencing a .NET assembly. You need to remove the reference to System.dll. It could have been automatically added by Resharper (if you're using it) or if you added a reference to it manually or if you tried to add a non-s# class file.

Either way, just remove the reference to system.dll in the project references.

For Regex, you simply need the using System statement which is part of mscorlib (in 0.8) ... don't recall if it's a different library in 0.7.5, but it should be included by default.


Reply to this email directly or view it on GitHub #340 (comment) .

https://github.com/notifications/beacon/hY0e-AbebVUZfDj46aTUEGahIPJeE_5-5FAJtmTQwnxokhKiTZhcXiLf14Qj5KtL.gif

I thought so as well, and I tried to remove it, but then I get this error:

Error 1 The type or namespace name 'Text' does not exist in the namespace 'System' (are you missing an assembly reference?)

… on this line: using System.Text.RegularExpressions;

If I remove that line, and just keep the System reference, the system can no longer resolve “Regex”. I downloaded the latest version for MVC – is there a different DLL for Regex?

From: The Outlander [mailto:notifications@github.com]
Sent: February-19-13 7:14 PM
To: nikhilk/scriptsharp
Cc: rjamesnw
Subject: Re: [scriptsharp] Stack Conflict (#340)

The problem is that you're referencing a .NET assembly. You need to remove the reference to System.dll. It could have been automatically added by Resharper (if you're using it) or if you added a reference to it manually or if you tried to add a non-s# class file.

Either way, just remove the reference to system.dll in the project references.

For Regex, you simply need the using System statement which is part of mscorlib (in 0.8) ... don't recall if it's a different library in 0.7.5, but it should be included by default.


Reply to this email directly or view it on GitHub #340 (comment) .

https://github.com/notifications/beacon/hY0e-AbebVUZfDj46aTUEGahIPJeE_5-5FAJtmTQwnxokhKiTZhcXiLf14Qj5KtL.gif

@nikhilk

This comment has been minimized.

Show comment
Hide comment
@nikhilk

nikhilk Feb 20, 2013

Owner

There was a mention of Bootstrap - something has been started here (https://github.com/dealproc/scriptsharp/tree/master/src/Libraries/Bootstrap) ... I believe its not 100% complete, and that since then there might have been a newer version of Bootstrap with some changes/additions. However, it might be interesting to take a look and see if you can steal anything from it, to jumpstart your effort.

On the other error, indeed in the script# mscorlib, System.Text.RegularExpressions doesn't exist. The script RegExp type is represented by System.RegExp correspondingly.

Owner

nikhilk commented Feb 20, 2013

There was a mention of Bootstrap - something has been started here (https://github.com/dealproc/scriptsharp/tree/master/src/Libraries/Bootstrap) ... I believe its not 100% complete, and that since then there might have been a newer version of Bootstrap with some changes/additions. However, it might be interesting to take a look and see if you can steal anything from it, to jumpstart your effort.

On the other error, indeed in the script# mscorlib, System.Text.RegularExpressions doesn't exist. The script RegExp type is represented by System.RegExp correspondingly.

@rjamesnw

This comment has been minimized.

Show comment
Hide comment
@rjamesnw

rjamesnw Feb 20, 2013

Ok, I still do not see RegEx. I have Script.jQuery, Script.Web, and ScriptSharp references, and there is no RegEx type anywhere to be found (Visual Studio will not even resolve it).

From: The Outlander [mailto:notifications@github.com]
Sent: February-19-13 7:14 PM
To: nikhilk/scriptsharp
Cc: rjamesnw
Subject: Re: [scriptsharp] Stack Conflict (#340)

The problem is that you're referencing a .NET assembly. You need to remove the reference to System.dll. It could have been automatically added by Resharper (if you're using it) or if you added a reference to it manually or if you tried to add a non-s# class file.

Either way, just remove the reference to system.dll in the project references.

For Regex, you simply need the using System statement which is part of mscorlib (in 0.8) ... don't recall if it's a different library in 0.7.5, but it should be included by default.


Reply to this email directly or view it on GitHub #340 (comment) .

Description: Image removed by sender.

Ok, I still do not see RegEx. I have Script.jQuery, Script.Web, and ScriptSharp references, and there is no RegEx type anywhere to be found (Visual Studio will not even resolve it).

From: The Outlander [mailto:notifications@github.com]
Sent: February-19-13 7:14 PM
To: nikhilk/scriptsharp
Cc: rjamesnw
Subject: Re: [scriptsharp] Stack Conflict (#340)

The problem is that you're referencing a .NET assembly. You need to remove the reference to System.dll. It could have been automatically added by Resharper (if you're using it) or if you added a reference to it manually or if you tried to add a non-s# class file.

Either way, just remove the reference to system.dll in the project references.

For Regex, you simply need the using System statement which is part of mscorlib (in 0.8) ... don't recall if it's a different library in 0.7.5, but it should be included by default.


Reply to this email directly or view it on GitHub #340 (comment) .

Description: Image removed by sender.

@rjamesnw

This comment has been minimized.

Show comment
Hide comment
@rjamesnw

rjamesnw Feb 20, 2013

There is no “System.RegExp”. I have script sharp 7.5.1, and version 7.5 of Script.jQuery and Script.Web. That name space doesn’t exist.

From: Nikhil Kothari [mailto:notifications@github.com]
Sent: February-20-13 3:08 AM
To: nikhilk/scriptsharp
Cc: rjamesnw
Subject: Re: [scriptsharp] Stack Conflict (#340)

There was a mention of Bootstrap - something has been started here (https://github.com/dealproc/scriptsharp/tree/master/src/Libraries/Bootstrap) ... I believe its not 100% complete, and that since then there might have been a newer version of Bootstrap with some changes/additions. However, it might be interesting to take a look and see if you can steal anything from it, to jumpstart your effort.

On the other error, indeed in the script# mscorlib, System.Text.RegularExpressions doesn't exist. The script RegExp type is represented by System.RegExp correspondingly.


Reply to this email directly or view it on GitHub #340 (comment) .

Description: Image removed by sender.

There is no “System.RegExp”. I have script sharp 7.5.1, and version 7.5 of Script.jQuery and Script.Web. That name space doesn’t exist.

From: Nikhil Kothari [mailto:notifications@github.com]
Sent: February-20-13 3:08 AM
To: nikhilk/scriptsharp
Cc: rjamesnw
Subject: Re: [scriptsharp] Stack Conflict (#340)

There was a mention of Bootstrap - something has been started here (https://github.com/dealproc/scriptsharp/tree/master/src/Libraries/Bootstrap) ... I believe its not 100% complete, and that since then there might have been a newer version of Bootstrap with some changes/additions. However, it might be interesting to take a look and see if you can steal anything from it, to jumpstart your effort.

On the other error, indeed in the script# mscorlib, System.Text.RegularExpressions doesn't exist. The script RegExp type is represented by System.RegExp correspondingly.


Reply to this email directly or view it on GitHub #340 (comment) .

Description: Image removed by sender.

@rjamesnw

This comment has been minimized.

Show comment
Hide comment
@rjamesnw

rjamesnw Feb 20, 2013

Oh, I see what’s going on, I think. The DLL version via NuGet has the old long name still. :) RegEx doesn’t exist yet. Is there a more recent update?

From: Nikhil Kothari [mailto:notifications@github.com]
Sent: February-20-13 3:08 AM
To: nikhilk/scriptsharp
Cc: rjamesnw
Subject: Re: [scriptsharp] Stack Conflict (#340)

There was a mention of Bootstrap - something has been started here (https://github.com/dealproc/scriptsharp/tree/master/src/Libraries/Bootstrap) ... I believe its not 100% complete, and that since then there might have been a newer version of Bootstrap with some changes/additions. However, it might be interesting to take a look and see if you can steal anything from it, to jumpstart your effort.

On the other error, indeed in the script# mscorlib, System.Text.RegularExpressions doesn't exist. The script RegExp type is represented by System.RegExp correspondingly.


Reply to this email directly or view it on GitHub #340 (comment) .

Description: Image removed by sender.

Oh, I see what’s going on, I think. The DLL version via NuGet has the old long name still. :) RegEx doesn’t exist yet. Is there a more recent update?

From: Nikhil Kothari [mailto:notifications@github.com]
Sent: February-20-13 3:08 AM
To: nikhilk/scriptsharp
Cc: rjamesnw
Subject: Re: [scriptsharp] Stack Conflict (#340)

There was a mention of Bootstrap - something has been started here (https://github.com/dealproc/scriptsharp/tree/master/src/Libraries/Bootstrap) ... I believe its not 100% complete, and that since then there might have been a newer version of Bootstrap with some changes/additions. However, it might be interesting to take a look and see if you can steal anything from it, to jumpstart your effort.

On the other error, indeed in the script# mscorlib, System.Text.RegularExpressions doesn't exist. The script RegExp type is represented by System.RegExp correspondingly.


Reply to this email directly or view it on GitHub #340 (comment) .

Description: Image removed by sender.

@theoutlander

This comment has been minimized.

Show comment
Hide comment
@theoutlander

theoutlander Feb 20, 2013

Contributor

If you're using the master branch (0.7.X), I think it's the RegularExpression class.

If you're on the latest CC branch, it is the RegExp class.

Contributor

theoutlander commented Feb 20, 2013

If you're using the master branch (0.7.X), I think it's the RegularExpression class.

If you're on the latest CC branch, it is the RegExp class.

@rjamesnw

This comment has been minimized.

Show comment
Hide comment
@rjamesnw

rjamesnw Feb 20, 2013

How is it working? Easy, when I compile a Script# project, there’s a .DLL in the bin folder. Turns out it’s a regular .NET (probably 2.0) compile of the code. I just added a project reference to the Script$ project. I am able to call my Button class to create the HTML for the Bootstrap button, then I simply used Html.Raw() to write to the output stream. I’m looking forward to being able to use the compile JavaScript to do the same client side if ever needed. :)

I had a general utilities C# file I use in all my projects, and I tell you, it was quite fun (not really ;)) trying to make it compatible (almost 2500 lines). LOL. I had compiler directives that supported .NET and Silverlight, and now Script#. ;) So far I have two Script# projects: A “Common.JS” one for the utility methods, and “UI.Bootstrap” to render HTML on both the client and server sides. :)

I had one beef though: I had an error where I was accessing the private member of a class object passed to a parameter while within the SAME class, and there was no line info. I had no idea where the issue was for some time (just gave some general error). That is easily a common issue and should probably have better error reporting. In fact, there was no error regarding the non-support of generic methods until much later on, when I suddenly got a bunch of weird identifier errors. :)

Anyhow, all looks good thus far, thanks,

James

From: The Outlander [mailto:notifications@github.com]
Sent: February-19-13 9:53 PM
To: nikhilk/scriptsharp
Cc: rjamesnw
Subject: Re: [scriptsharp] Stack Conflict (#340)

I don't think you can use the dll in another project if it references S# libraries. How is it working for you?


Reply to this email directly or view it on GitHub #340 (comment) .

Description: Image removed by sender.

How is it working? Easy, when I compile a Script# project, there’s a .DLL in the bin folder. Turns out it’s a regular .NET (probably 2.0) compile of the code. I just added a project reference to the Script$ project. I am able to call my Button class to create the HTML for the Bootstrap button, then I simply used Html.Raw() to write to the output stream. I’m looking forward to being able to use the compile JavaScript to do the same client side if ever needed. :)

I had a general utilities C# file I use in all my projects, and I tell you, it was quite fun (not really ;)) trying to make it compatible (almost 2500 lines). LOL. I had compiler directives that supported .NET and Silverlight, and now Script#. ;) So far I have two Script# projects: A “Common.JS” one for the utility methods, and “UI.Bootstrap” to render HTML on both the client and server sides. :)

I had one beef though: I had an error where I was accessing the private member of a class object passed to a parameter while within the SAME class, and there was no line info. I had no idea where the issue was for some time (just gave some general error). That is easily a common issue and should probably have better error reporting. In fact, there was no error regarding the non-support of generic methods until much later on, when I suddenly got a bunch of weird identifier errors. :)

Anyhow, all looks good thus far, thanks,

James

From: The Outlander [mailto:notifications@github.com]
Sent: February-19-13 9:53 PM
To: nikhilk/scriptsharp
Cc: rjamesnw
Subject: Re: [scriptsharp] Stack Conflict (#340)

I don't think you can use the dll in another project if it references S# libraries. How is it working for you?


Reply to this email directly or view it on GitHub #340 (comment) .

Description: Image removed by sender.

@rjamesnw

This comment has been minimized.

Show comment
Hide comment
@rjamesnw

rjamesnw Feb 20, 2013

I’m not on a branch, I used the DLL downloaded via NuGet.

From: The Outlander [mailto:notifications@github.com]
Sent: February-20-13 5:49 PM
To: nikhilk/scriptsharp
Cc: rjamesnw
Subject: Re: [scriptsharp] Stack Conflict (#340)

If you're using the master branch (0.7.X), I think it's the RegularExpression https://github.com/nikhilk/scriptsharp/blob/master/src/Core/CoreLib/RegularExpression.cs class.

If you're on the latest CC branch, it is the RegExp https://github.com/nikhilk/scriptsharp/blob/cc/src/Core/CoreLib/RegExp.cs class.


Reply to this email directly or view it on GitHub #340 (comment) .

Description: Image removed by sender.

I’m not on a branch, I used the DLL downloaded via NuGet.

From: The Outlander [mailto:notifications@github.com]
Sent: February-20-13 5:49 PM
To: nikhilk/scriptsharp
Cc: rjamesnw
Subject: Re: [scriptsharp] Stack Conflict (#340)

If you're using the master branch (0.7.X), I think it's the RegularExpression https://github.com/nikhilk/scriptsharp/blob/master/src/Core/CoreLib/RegularExpression.cs class.

If you're on the latest CC branch, it is the RegExp https://github.com/nikhilk/scriptsharp/blob/cc/src/Core/CoreLib/RegExp.cs class.


Reply to this email directly or view it on GitHub #340 (comment) .

Description: Image removed by sender.

@theoutlander

This comment has been minimized.

Show comment
Hide comment
@theoutlander

theoutlander Feb 20, 2013

Contributor

That's 0.7.5+ I think, so you should be looking for RegularExpression (if I remember correctly from looking at the source). Try browsing the API in the IDE to see where it is.

If you want to update to the latest, there are two ways to do it:

  1. Enlist in the CC branch
  2. Download the current code base as a zip from here

Here are some steps that might get you started (I will try to document them soon)

  • Build:
    • Build the CC project in Release mode.
    • Then, under cc\bin\Zip\Packages should have the latest Nuget packages locally.
    • And, cc\bin\ScriptSharp.vsix will have the studio extensions / templates for 0.8
  • Uninstall Previous Version
    • You will first need to uninstall the old version of S# packages associated with your existing project by right clicking your solution->Manage Nuget packages and removing all installed packages for s# 0.7.5
    • Next, go into VS->Tools->Extensions and Updates, Installed->Templates, Uninstall S# templates (this is what shows up when you create a new project)
  • Install New Version:
    • Then go to your project solution->Manage Nuget Packages->Settings (at the bottom left in VS2012)
    • Add a new package source and point it to the cc\bin\Zip\Packages folder (which has your locally built 0.8 pacakges)
    • Once you click ok, in the Manage Nuget Packages window, go to Online tab and select your local package source that you defined above and install the latest stuff....

Please note that you might need to follow the same process for future updates, but only remove and add specific packages that you're interested in.

Let me know if this helps and I can use this as a starting point for the help doc on this topic.

Contributor

theoutlander commented Feb 20, 2013

That's 0.7.5+ I think, so you should be looking for RegularExpression (if I remember correctly from looking at the source). Try browsing the API in the IDE to see where it is.

If you want to update to the latest, there are two ways to do it:

  1. Enlist in the CC branch
  2. Download the current code base as a zip from here

Here are some steps that might get you started (I will try to document them soon)

  • Build:
    • Build the CC project in Release mode.
    • Then, under cc\bin\Zip\Packages should have the latest Nuget packages locally.
    • And, cc\bin\ScriptSharp.vsix will have the studio extensions / templates for 0.8
  • Uninstall Previous Version
    • You will first need to uninstall the old version of S# packages associated with your existing project by right clicking your solution->Manage Nuget packages and removing all installed packages for s# 0.7.5
    • Next, go into VS->Tools->Extensions and Updates, Installed->Templates, Uninstall S# templates (this is what shows up when you create a new project)
  • Install New Version:
    • Then go to your project solution->Manage Nuget Packages->Settings (at the bottom left in VS2012)
    • Add a new package source and point it to the cc\bin\Zip\Packages folder (which has your locally built 0.8 pacakges)
    • Once you click ok, in the Manage Nuget Packages window, go to Online tab and select your local package source that you defined above and install the latest stuff....

Please note that you might need to follow the same process for future updates, but only remove and add specific packages that you're interested in.

Let me know if this helps and I can use this as a starting point for the help doc on this topic.

@nikhilk

This comment has been minimized.

Show comment
Hide comment
@theoutlander

This comment has been minimized.

Show comment
Hide comment
@theoutlander

theoutlander Feb 21, 2013

Contributor

Oh man, I should have looked at the wiki first! I suppose I can try to make a nicer page with step-by-step instructions and screenshots.

Contributor

theoutlander commented Feb 21, 2013

Oh man, I should have looked at the wiki first! I suppose I can try to make a nicer page with step-by-step instructions and screenshots.

@rjamesnw

This comment has been minimized.

Show comment
Hide comment
@rjamesnw

rjamesnw Feb 21, 2013

:)

From: The Outlander [mailto:notifications@github.com]
Sent: February-20-13 9:04 PM
To: nikhilk/scriptsharp
Cc: rjamesnw
Subject: Re: [scriptsharp] Stack Conflict (#340)

Oh man, I should have looked at the wiki first! I suppose I can try to make a nicer page with step-by-step instructions and screenshots.


Reply to this email directly or view it on GitHub #340 (comment) .

Description: Image removed by sender.

:)

From: The Outlander [mailto:notifications@github.com]
Sent: February-20-13 9:04 PM
To: nikhilk/scriptsharp
Cc: rjamesnw
Subject: Re: [scriptsharp] Stack Conflict (#340)

Oh man, I should have looked at the wiki first! I suppose I can try to make a nicer page with step-by-step instructions and screenshots.


Reply to this email directly or view it on GitHub #340 (comment) .

Description: Image removed by sender.

@nikhilk nikhilk closed this Feb 22, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment