Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand

Downloads:

137,694

Downloads of v 0.17.0:

1,557

Last Update:

13 Feb 2017

Package Maintainer(s):

Software Author(s):

  • Glenn Block
  • Filip Wojcieszyn
  • Justin Rusbatch
  • Kristian Hellang
  • Damian Schenkelman
  • Adam Ralph

Tags:

roslyn csx script scriptcs

ScriptCs

This is not the latest version of ScriptCs available.

  • 1
  • 2
  • 3

0.17.0 | Updated: 13 Feb 2017

Downloads:

137,694

Downloads of v 0.17.0:

1,557

Maintainer(s):

Software Author(s):

  • Glenn Block
  • Filip Wojcieszyn
  • Justin Rusbatch
  • Kristian Hellang
  • Damian Schenkelman
  • Adam Ralph

ScriptCs 0.17.0

This is not the latest version of ScriptCs available.

Legal Disclaimer: Neither this package nor Chocolatey Software, Inc. are affiliated with or endorsed by Glenn Block, Filip Wojcieszyn, Justin Rusbatch, Kristian Hellang, Damian Schenkelman, Adam Ralph. The inclusion of Glenn Block, Filip Wojcieszyn, Justin Rusbatch, Kristian Hellang, Damian Schenkelman, Adam Ralph trademark(s), if any, upon this webpage is solely to identify Glenn Block, Filip Wojcieszyn, Justin Rusbatch, Kristian Hellang, Damian Schenkelman, Adam Ralph goods or services and not for commercial purposes.

  • 1
  • 2
  • 3

Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Resulted in Flagged:

This package was submitted (and approved) prior to automated virus scanning integration into the package moderation processs.

We recommend clicking the "Details" link to make your own decision on installing this package.

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install ScriptCs, run the following command from the command line or from PowerShell:

>

To upgrade ScriptCs, run the following command from the command line or from PowerShell:

>

To uninstall ScriptCs, run the following command from the command line or from PowerShell:

>

Deployment Method:

NOTE

This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade scriptcs -y --source="'INTERNAL REPO URL'" --version="'0.17.0'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade scriptcs -y --source="'INTERNAL REPO URL'" --version="'0.17.0'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Install scriptcs
  win_chocolatey:
    name: scriptcs
    version: '0.17.0'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'scriptcs' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '0.17.0'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller scriptcs
{
    Name     = "scriptcs"
    Version  = "0.17.0"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'scriptcs':
  ensure   => '0.17.0',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Package Approved

This package was approved as a trusted package on 13 Feb 2017.

Description

Write .Net apps with a text editor, NuGet, and the power of Roslyn!


tools\Autofac.dll
md5: D925050321936F415C557BFACC5D9F32 | sha1: E0B9E78C3B3737C2000A830590B58EE671D7B961 | sha256: CE02FBEEDABF893E687069A7D8142F36C9DA2BF02B64FE1E24CE613DBDF0C9DD | sha512: 0971ED3C790B68ACD0137F920E2B865B82500F770164EE92B0A4DA881AC1124F7CD84D54BFF6B86BDDA2430FCEA87B0FC0E7E86A4FA648572120F7FFB983EB95
tools\Autofac.Integration.Mef.dll
md5: 8BFA67721A2A2333C58082D7257FF1F6 | sha1: 92BB73423C75EE081AF064DA99A8E17F62CB414D | sha256: 1677D0CE3B15A6F03D65A6C243493549F3A36CBF2047E6E7997A29D40BD0DA7A | sha512: 7F18FCA0D5E6C9CBEB5727E1D8650E5F0471D2696F88056D05DCBB649100D2CCB6DD33E697B981A828C31C228702AEB8025001036926034F30FAACC82D1C27E9
tools\chocolateyInstall.ps1
try {
    $tools = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"

    if (Test-Path "$tools\..\lib") {
        Remove-Item "$tools\..\lib" -Recurse -Force
    }

    # Handle upgrade from previous packages that installed to the %AppData%/scriptcs folders.
    $oldPaths = @(
        "$env:APPDATA\scriptcs",
        "$env:LOCALAPPDATA\scriptcs"
    )

    $oldPaths | foreach {
        # Remove the old user-specific scriptcs folders.
        if (Test-Path $_) {
            Remove-Item $_ -Recurse -Force
        }

        # Remove the user-specific path that got added in previous installs.
        # There's no Uninstall-ChocolateyPath yet so we need to do it manually.
        # https://github.com/chocolatey/chocolatey/issues/97
        $envPath = $env:PATH
        if ($envPath.ToLower().Contains($_.ToLower())) {
            $userPath = [Environment]::GetEnvironmentVariable("Path","User")
            if($userPath) {
                $actualPath = [System.Collections.ArrayList]($userPath).Split(";")
                $actualPath.Remove($_)
                $newPath =  $actualPath -Join ";"
                [Environment]::SetEnvironmentVariable("Path", $newPath, "User")
            }
        }

        Write-Host "'$_' has been removed." -ForegroundColor DarkYellow
    }
    Update-SessionEnvironment
    # End upgrade handling.

    Write-ChocolateySuccess 'scriptcs'
} catch {
    Write-ChocolateyFailure 'scriptcs' "$($_.Exception.Message)"
    throw
}
tools\Common.Logging.dll
md5: A374D30EAA4F0A4B7C09DA2768939C71 | sha1: E84A79B9EF2F8A310D16EA7639AE060090D3DA6B | sha256: D6461B8C61B72AD7EF45505D61965533823C8EFD7D4121FF54AAE7FF2C6F51C4 | sha512: 3A7D62F5C754B3352661699B5F138A64BEF2990BB6218D0017193A9066E6B5AEEF429A08D0DBE68D56B1125DFE761118731F2165C68F205B7339CEE43CE531EC
tools\ICSharpCode.NRefactory.CSharp.dll
md5: 2CDC5C01A85384D194DBF8E5E60F573F | sha1: AF37273253BF02C19ABC9F9A3EC95170629A1DA4 | sha256: 8EFFED61FE7DEC29F30C00BA9E4319FD3D3EDFD36A3368FC9F84501B74A35BE9 | sha512: 5AE110D487DC799BA75514F30981B2290F5FA4BFF32A432DDDD146E934316A30BA837AEBA8B637564E010CE332BF2B09743B3BE3AF30F630DFC0CDADA3A3E41A
tools\ICSharpCode.NRefactory.dll
md5: BCE3311FB49CDD5FE844460397880205 | sha1: 55036269D87BBD15D9DDB00B43880B82CBE37397 | sha256: E5A4124377FE0E473E8D16D452A3BCC6FA8930746ACA266A75CDCDC766E316A1 | sha512: 8886B52E744C395B175EB9EE0B739F59D8BC8781F8F205303C8FB4F8E5B4F3C31BD8463ACDA8E31469915D6D878A8D1B30C48F672AC83CAEC1B7B91147825239
tools\Microsoft.CodeAnalysis.CSharp.dll
md5: 454CAB3DD64B2053B2F7595A4A64E111 | sha1: B05D51269020780A413467E4C78E84F256A4A238 | sha256: 6CC577CE696B2CBBF75068FE8B1F05531EF0BE24A5612EA6D4F1389B09CAF54A | sha512: 7D522A46AEF1588C5CB156FC78DC8B811D45FA7167523D74DA2328236A5E85AA2ABC039FFC0FF350977AD5C39A03D46C99AF486594C06B3435159148B523F548
tools\Microsoft.CodeAnalysis.Desktop.dll
md5: 290C056D387AD34F45709CACE4324B46 | sha1: 2DE65FAEFA695322F806FE1D1685C990C459C6C3 | sha256: 88A247C36800DD587A23105FFA689CB9893CA128B9B3CE9804DE26D7E03B9201 | sha512: E6B468DE80265E7B7E94E04FBC3A967AB9E7759866AE1F2B952D1F289A7393C91D8669EF7785F4DDE3762EB476F65131B780A5B2980EE6A736D6CE80C73D8E04
tools\Microsoft.CodeAnalysis.dll
md5: F245BD815C283F0FBB7FD255E97BF08F | sha1: BC61BD7368DD3C99582BCBBE68D8C23EC9A5252A | sha256: 4B52B899EDB6F665C24A97AC94FA03488E03180507FE31874EC4D8D0AB9F7F91 | sha512: 281B01482A4EAEB149CBF73F92119477468FF75411ABEA564125C8C3EB392E71C6EB7355C0CEF818A3E319F61417DA74A7D71EAE6B01D891DE8BF42C03001D83
tools\Microsoft.CodeAnalysis.Scripting.CSharp.dll
md5: 46E6ED87AF8DB4C45A320D4EAB02B606 | sha1: 518E7BA80983E58D1B936D2E420639375C2BD8BE | sha256: 03F3949278C848688D77878A60A0A26C47FA349B5196E5AB39447D73F549F270 | sha512: CE583F72813D5F64A24D6A27A498B552C55D24BEC3FA12B634B69CDF20DB68C12B7846451305B175BC0329FD484788456094DF2B3A6F4EBB045162BDC9B6AF6C
tools\Microsoft.CodeAnalysis.Scripting.dll
md5: 76236B406E23422AE697BEAAE215A865 | sha1: 0C54E08B931BAB18A1B098693148EF6135BF946B | sha256: 25F8915FE0A82CECAC2EA8B12D668E51B4807DAFD287D678BC164E753C4984CF | sha512: 7C78F0D772154189DB91A4F22CF8EF3F5B67E0F9A57A0380F16EC9099E0BE5DBA2F7B0F16E8B644AE902FF6F561D4189127882E393C3AB5C462AAF2CF1C58179
tools\Microsoft.Web.XmlTransform.dll
md5: A21A47E1C885E2A6BF493D5D76919F1E | sha1: CD9218E56616C16BCCD88EF7BFABE3CE960A7589 | sha256: 0252E8888DFA40D779FF2DF2F2C74CCEFA288471B41FE9534DAA12E805CDA339 | sha512: 9DBA5DE16B8A335E7B8E87874EC06F3C1CB10A093109990B10F19EEFA8616F69E675144E5FB0F445E5418F9EDF1B6F27B1712816CBCCCE6B17D95BC0DBC2C3DF
tools\Mono.Cecil.dll
md5: B1C7DA53F32E6425B84C118047FDFAB4 | sha1: 643D8531AE4E924B57066778883CAEC4ED7F8F4B | sha256: AE75BF2566A936B86BEF42731F1EF32D17B4D496931AD8278D07B9B5076DEF1D | sha512: D6F3DB75672CEF693CD6249DF999C4BA6106CCDB1AADE534D2CD55BCA87899826209109C4191F33E2C6CA6E072F2774EB6CD093BEDFD4B6BC005B68214BACFF9
tools\Mono.CSharp.dll
md5: 9F3473D035062CD546F30E54233A9A7B | sha1: 9613F367AC7340C01B7A8665B1CCE0483F6CE793 | sha256: 80C8ECC58E3140F0EE336292165BF2B887A000014C7DE420B70EEFE4D5E68BCC | sha512: FBA700603756B79BB671080D09081C3F39203F729A749993DF41AD8F68F06FB5CCFCA185AD8DEC25831BE17A61128E57ABE1626CEC77BE6ED20395026C9589A1
tools\Newtonsoft.Json.dll
md5: A94583EE47F673118B0BF822BF8E425D | sha1: BB1FB9C4D6D3B4539569E0051D66C2C6F029A895 | sha256: 030E739CBA60C3B4604EE1574497AEBC892B7CEB0CE44DD39FD1EF7767A2F134 | sha512: 39DCBA07CD4F854982E21FCB7024BD47794E53FC0CB5923757A57AB3FDE64ACFA6076123C8F00A7186C3DC782947473705C8B7933B99172A448F9E615AFFE8D1
tools\NuGet.Core.dll
md5: CFE27B330347673C5EB1387C16F9B69B | sha1: AFD5E99854485B34559D9E122D452563AFAD0A82 | sha256: 784D2A3D7FBDB469CC3A67091763AADF283575A9BF3B873F771F5F87ED7327C7 | sha512: 4F4D9FC6A32EEE2EA52085580993645B651EBA2137A985E03D05645CB8A428840246430FA7EA1D080AB0042EEAB6E84E7BAF72A0C4E8515CCF03274063BAE64C
tools\PowerArgs.dll
md5: DF70C772FDB43E16D7EB192F2197E60E | sha1: 0B15E28EC7ACEE05E0E8AED6EB1CC0087D148261 | sha256: 40ABBB6A93AE34654FFB5177C1B5412123B8863385BC61B4374E6E027F49DB31 | sha512: 67C7441A0F6925FDC3D07CAA6549AD4ED5BFB1E3696EBE66AF8F8A6A78902F572CC401370D8DE539220B84548A9CAD773D769939F8CD28A7686321DF9DFD5DB6
tools\ScriptCs.Contracts.dll
md5: 925BAD5752A360D48256F9197E375A9D | sha1: 48CA3933893F2ECE8BF459F2D033653D737DD4CC | sha256: 866C4C23A3C0EF6B097EBA16BC380FCA47F88E9D3902636A5879B1F98B456EB8 | sha512: 68E4FEFA50ECA37D546154C8BD1F1BF3CC89BDACA772D9F945B507B842EA849B0B8FB88540827BE5B480E855EE4B540AC923DAF83C8651390656443E9701FDCE
tools\ScriptCs.Core.dll
md5: 12F606EEE70C64503282C68380325458 | sha1: AF2E8866516562A1F6FCF2435D4434736CC32C76 | sha256: 1F05EEDB73D3D1023240E7B7A6882FA7B0715753CEEB56D4B6A0527A4301133A | sha512: EC55221D491EB5E19CD2CA3040706FBB4C7429C55AE24BFDA58ADB5F0CB2FA597567557B77DFEBFC52C8D46F66FB1E47235CCC3A789A763596A7CC15111F4084
tools\ScriptCs.Engine.Mono.dll
md5: 10C5579FE3C3234781AA6B87C8880A81 | sha1: FD7CDA0EC7A75D87B44A4137CFE41DF38570EA13 | sha256: 33C8840CD2C6F84F2BA33E7A1222A9FC7E0522CD2B73D67DB42A601FD48F4F6E | sha512: CA166E8B1169F5C2E092E1BA374872A3713F239A4FD0E202F7AFC7FD8EC70652E36731D1E611A750FE4BFC5CEAFFB70B586D40D2C7D73A347341D56792CF8028
tools\ScriptCs.Engine.Roslyn.dll
md5: C99D7D0C14DD7D04B78E59C809125026 | sha1: 6C82BD71E12E9A7A2A481F20611880FE49D9E3A4 | sha256: E6D6DB9F3632D3A67C30ACAB68B1E09DF1BB22AC0445B1E6C4D907BA52884C12 | sha512: 74D7F7355DF67A7B14DE0157CC49D0577FEF1E3F7C5461492ADB735DAF2EEBBBCD2CE1591B979DEFD87DD20CD53B29AEBAAF7E11E4E42B7CFB07048C633CB993
tools\scriptcs.exe
md5: D0426795253AA1EF0BA438B6992C1D64 | sha1: 565B4295D494804994AA4AF3EB9BB7C4E68984B5 | sha256: 05E9663B881FBCE9EDE1D814A0BCA5F9A9F6807674554A24BA299F289B603194 | sha512: 9831747FF5EE69229C7614B0CBD4BA4DABB99848BA5E40B729855514CDFF10974E8282A2D6FC2A5CB3B67B7283C7ED261ACB53420B6A6F0C93384512EC5F6184
tools\scriptcs.exe.config
<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <startup>
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
  </startup>
</configuration>
tools\ScriptCs.Hosting.dll
md5: 25A336344CA57D7BC4EC531AA6A2F03A | sha1: C0E6ADAB32B569D550C1CD865B705EC6512A26A2 | sha256: CCF47D4B1A2BBF304BEBE441EB89CF4135A2A5C47EAB538902A0D66191EECD06 | sha512: 0427427BC4C689249B9F4BAC6EA3787AF87D05A8016096D77170359731A36749D27A3596A2D0467E28CC9528B07274CAC2D23E9791F9BB78ADECDDB079345DDA
tools\System.Collections.Immutable.dll
md5: 39C38A23F07DF952F90FC8C0045047A7 | sha1: CB1ADD24A135B67B26766B0D078DE784AFE27725 | sha256: 7AF2DA909BBCE16013A79B91F868ABB2A7829667D6E9A73B44FDACFBD77117A5 | sha512: C05F3A555AB11065DB17DCCA9FA953D84178B11108116D29671FFBDF80BEC9D463FA6BE6D0B112952613430E024CE0D5F05147985901E34141EC599C2EACE664
tools\System.Reflection.Metadata.dll

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Add to Builder Version Downloads Last Updated Status
ScriptCs 0.17.0 1557 Monday, February 13, 2017 Approved
ScriptCs 0.16.1 7506 Thursday, April 7, 2016 Approved
ScriptCs 0.16.0 993 Saturday, April 2, 2016 Approved
ScriptCs 0.15.0 6982 Monday, August 3, 2015 Approved
ScriptCs 0.14.1 3924 Sunday, April 12, 2015 Approved
ScriptCs 0.14.0 1246 Monday, March 23, 2015 Approved
ScriptCs 0.13.3 2050 Tuesday, February 24, 2015 Approved
ScriptCs 0.13.2 1178 Saturday, February 7, 2015 Approved
ScriptCs 0.13.1 660 Thursday, February 5, 2015 Approved
ScriptCs 0.13.0 921 Wednesday, January 28, 2015 Approved
ScriptCs 0.12.0 1463 Wednesday, December 24, 2014 Approved
ScriptCs 0.11.0 889 Thursday, December 11, 2014 Approved
ScriptCs 0.10.2 3834 Friday, August 1, 2014 Approved
ScriptCs 0.10.1 680 Wednesday, July 30, 2014 Approved
ScriptCs 0.10.0 779 Wednesday, July 30, 2014 Approved
ScriptCs 0.9.0 5151 Friday, February 7, 2014 Approved
ScriptCs 0.8.1 3461 Saturday, October 12, 2013 Approved
ScriptCs 0.8.0 1089 Wednesday, September 18, 2013 Approved
ScriptCs 0.7.0 1106 Thursday, August 15, 2013 Approved
ScriptCs 0.6.0 863 Monday, August 5, 2013 Approved
ScriptCs 0.5.1 1552 Sunday, June 16, 2013 Approved
ScriptCs 0.4.0 1552 Monday, May 13, 2013 Approved
ScriptCs 0.3.2 1084 Wednesday, April 17, 2013 Approved
ScriptCs 0.3.1 651 Wednesday, April 10, 2013 Approved
ScriptCs 0.3.0 652 Tuesday, April 9, 2013 Approved
ScriptCs 0.3.0-alpha-130315 663 Saturday, March 16, 2013 Approved

This package has no dependencies.

Discussion for the ScriptCs Package

Ground Rules:

  • This discussion is only about ScriptCs and the ScriptCs package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or ScriptCs, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus