Ryan
Kai Lord
Posts: 69
|
Post by Ryan on Jul 17, 2008 13:45:43 GMT
Very strange...but just thinking about it now...he had some LINQ references in there. Make sure to install .NET Framework 3.5. I'm not sure if it's installed by default with the studio.
|
|
|
Post by alderaine on Jul 17, 2008 13:47:01 GMT
According to COntrol Panel, I have that
|
|
Ryan
Kai Lord
Posts: 69
|
Post by Ryan on Jul 17, 2008 13:55:49 GMT
Not much else I can think of offhand...
Make sure the files are extracted and on a local harddrive, not the network. Make sure all projects are set to compile as .NET 3.5 (Properties on the project, Build tab)
When are you getting that error? When you try to open the sln file?
|
|
|
Post by alderaine on Jul 17, 2008 13:56:59 GMT
Yes, when I double-click the SLN. I eventually get into VS but can't do much as the project is marked as "unavailable" - totally a new one on me!
|
|
|
Post by alderaine on Jul 17, 2008 13:59:08 GMT
Hmm I have a really cute idea (that is way out of my depth for XML!) Could an application be hosted on the web (eventually an AON page) which steps through the logic to read the XML in the same way as a debugging tool steps through code?
|
|
Ryan
Kai Lord
Posts: 69
|
Post by Ryan on Jul 17, 2008 14:01:24 GMT
Yes, when I double-click the SLN. I eventually get into VS but can't do much as the project is marked as "unavailable" - totally a new one on me! Which project exactly? All three?
|
|
Ryan
Kai Lord
Posts: 69
|
Post by Ryan on Jul 17, 2008 14:02:42 GMT
Hmm I have a really cute idea (that is way out of my depth for XML!) Could an application be hosted on the web (eventually an AON page) which steps through the logic to read the XML in the same way as a debugging tool steps through code? You mean basically having the game logic hosted, and not just the XML files? Phew...it would be theoretically possible, for instance with a series of Web Services...but what would that offer the developer/user above having the XML files?
|
|
|
Post by alderaine on Jul 17, 2008 14:17:35 GMT
nononono - just an example of how to read the XML. Essentially, what I assume this application is (if I could get it to work!) but hosted on the web, with a "debug" mode. Doesn't have to do any of the character sheet management, navigation control, etc - just show how to read the XML.
|
|
Ryan
Kai Lord
Posts: 69
|
Post by Ryan on Jul 17, 2008 14:26:07 GMT
nononono - just an example of how to read the XML. Essentially, what I assume this application is (if I could get it to work!) but hosted on the web, with a "debug" mode. Doesn't have to do any of the character sheet management, navigation control, etc - just show how to read the XML. Well, TBH, the app could be written even simpler than it is now. Ideally, instead of manually processing the XML in code with a repeater, an XSLT file would be ideal here, especially for adding styling, etc. later on. Perhaps I'll do just that as a part of the iPhone app. XSLT is actually really simple, once you get into it. Then changes and styles are really easy later on...no compile necessary!
|
|
|
Post by alderaine on Jul 17, 2008 14:54:02 GMT
Great I'm perfectly happy for you & Jeremy to work out a format & guidelines between you. The CNF project started in a generic file format (CSV for example) but it quickly became apparent XML was the right way to go. That stalled because we had no XML experts, then like busses two come along go for it
|
|
|
Post by jsager on Jul 17, 2008 17:35:08 GMT
I've never worked with Visual Studio express, but I know for a fact you can have multiple editions installed on your machine.
I think that the problem is that the solution contains both c# projects and an ASP.NET web project, and each version can only open one or the other.
Try opening the .csproj files individually.
|
|
|
Post by outspaced on Jul 17, 2008 18:40:40 GMT
Yes, when I double-click the SLN. I eventually get into VS but can't do much as the project is marked as "unavailable" - totally a new one on me! @ alderaine: Make sure it's the SampleLWReader/default.aspx file you're attempting to open in Visual Studio. I was getting exactly the same error as you ("Reinstall Visual Studio 2008) when I was trying to open LoneWolf.sln in the route directory. Once it's loaded, I clicked the button "View in Browser" (Fx3.01) to see this: I'm really impressed with that, jsager! Clearly the next thing to do is list what alterations need to be made to the core XML. - Discipline-dependent choices
- Items (+how to define multiple items)
- Currency
- Stores
- Item-dependent choices
- Previous adventure-dependent choices
- Non-Store Transactions (e.g. payment for seat in coach)
- Stat-dependent choices (e.g. if your ENDURANCE is x or more...)
- Combat rounds-dependent choices (e.g. If you defeat him in X rounds... or, Fight 1 round of combat only.
- Pseudo-combat (e.g. the "combat" against the other archer in Book 6 to win the Silver Bow) where LW does not actually incur any damage. I think there is something similar in Book 2?
That's a start from a non-tech guy; what have I missed? Edit: Decoding of the other XML declarations (e.g. <ch.emdash/>, <quote>, <ch.apos/>) is also fairly important.
|
|
|
Post by Doomy on Jul 17, 2008 20:07:56 GMT
Edit: Decoding of the other XML declarations (e.g. <ch.emdash/>, <quote>, <ch.apos/>) is also fairly important. Is that what causes the phrase "the whole lite of Kai warriors" to appear?
|
|
|
Post by jsager on Jul 17, 2008 20:46:16 GMT
Well, I suppose I could do more with this, I never intended it to be any real project, it was just supposed to be sample code for people to look at as an example of how to muck about with the XML.
Let me think on this a bit.
|
|
|
Post by jsager on Jul 17, 2008 20:49:22 GMT
Edit: Decoding of the other XML declarations (e.g. <ch.emdash/>, <quote>, <ch.apos/>) is also fairly important. Is that what causes the phrase "the whole lite of Kai warriors" to appear? Yes, I didn't handle any of the special characters. Also, I just realized that my little project is fairly brutal... because I did the thing in an AJAX update panel that just does postbacks, you can't back up. Better make the right choices! heheh
|
|