Comments (1)
Ugh that sounds like something is seriously broken.
-----Original Message-----
From: "Federico Silva Armas" [email protected]
Sent: 8/15/2013 11:44 PM
To: "scriptcs/scriptcs-webapi" [email protected]
Subject: [scriptcs-webapi] Error <The name 'Require' does not exist> whentrying the sample for webapi server (#6)
Following the sample, I am running into the following error when running the .csx file for the webapi server:
C:\dev\temp\scriptcs2> scriptcs server.csx
ERROR: Roslyn.Compilers.CompilationErrorException: C:\dev\temp\scriptcs2\server.csx(7,14): error CS7012: The name 'Require' does not exist in the current context (are you missing a reference to assembly 'ScriptCs.Contracts, Version=0.7.0.0, Culture=neutral, PublicKeyToken=null'?)
at Roslyn.Scripting.CommonScriptEngine.CompilationError(DiagnosticBag localDiagnostics, DiagnosticBag diagnostics)
at Roslyn.Scripting.CommonScriptEngine.Compile(String code, String path, DiagnosticBag diagnostics, Session session, Type delegateType, Type returnType, CancellationToken cancellationToken, Boolean isInteractive, Boolean isExecute, CommonCompilation& compilation, Delegate& factory)
at Roslyn.Scripting.CommonScriptEngine.CompileSubmissionT
at ScriptCs.Engine.Roslyn.RoslynScriptEngine.Execute(String code, Session session)
Cheers!
—
Reply to this email directly or view it on GitHub.
from scriptcs-webapi.
Related Issues (11)
- Change type logic to include the script controllers always. HOT 1
- Add Web API 2.0 support
- Add OWIN support
- Add helpers for formatters and handlers
- NuGet package out of date HOT 5
- Getting started with Web API using the pack does not work, part 1
- Getting started with Web API using the pack does not work, part 2 HOT 2
- fix CI build HOT 2
- Fix for scriptcs 0.15.0 HOT 2
- Cannot resolve dependency on Owin
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scriptcs-webapi.